Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001398/0.002461, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001473/0.002589, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9926/0.9926, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09284/1.085, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7452/0.7452, allocations: 155.3 MB / 399.3 MB, free: 15.92 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2475/0.9927, allocations: 49.13 MB / 448.4 MB, free: 5.992 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 449.7 MB, free: 4.723 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.665e-06/8.977e-06, allocations: 2.875 kB / 449.7 MB, free: 4.719 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.00917/0.009179, allocations: 12.86 MB / 462.5 MB, free: 7.887 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007714/0.01689, allocations: 6.175 MB / 468.7 MB, free: 1.754 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006758/0.01757, allocations: 67.44 kB / 468.8 MB, free: 1.688 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005583/0.01813, allocations: 353.1 kB / 469.1 MB, free: 1.34 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.01958, allocations: 1.086 MB / 470.2 MB, free: 264 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.02096, allocations: 1.184 MB / 471.4 MB, free: 15.09 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.02266, allocations: 2.671 MB / 474.1 MB, free: 12.41 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.02368, allocations: 0.9179 MB / 475 MB, free: 11.48 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.02489, allocations: 1.452 MB / 476.4 MB, free: 10.05 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/0.02557, allocations: 0.6605 MB / 477.1 MB, free: 9.395 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.02567, allocations: 108 kB / 477.2 MB, free: 9.289 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005268/0.0262, allocations: 427.9 kB / 477.6 MB, free: 8.871 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.02637, allocations: 227.1 kB / 477.8 MB, free: 8.648 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002897/0.02666, allocations: 356.2 kB / 478.2 MB, free: 8.301 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009363/0.0276, allocations: 1.059 MB / 479.2 MB, free: 7.238 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.02761, allocations: 0.6562 kB / 479.2 MB, free: 7.238 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.02761, allocations: 0 / 479.2 MB, free: 7.238 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.02762, allocations: 1.25 kB / 479.3 MB, free: 7.238 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.001503/0.02913, allocations: 1.65 MB / 480.9 MB, free: 5.555 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.02916, allocations: 8.031 kB / 480.9 MB, free: 5.547 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006792/0.02984, allocations: 372.5 kB / 481.3 MB, free: 5.168 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007509/0.03059, allocations: 0.6572 MB / 481.9 MB, free: 4.484 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.03062, allocations: 58.38 kB / 482 MB, free: 4.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.039e-05/0.0307, allocations: 95.86 kB / 482.1 MB, free: 4.336 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000762/0.03146, allocations: 0.83 MB / 482.9 MB, free: 3.418 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.03148, allocations: 5.125 kB / 482.9 MB, free: 3.414 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.03153, allocations: 32 kB / 482.9 MB, free: 3.383 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.03154, allocations: 20 kB / 483 MB, free: 3.363 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.03188, allocations: 284.9 kB / 483.2 MB, free: 3.09 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.0342, allocations: 2.582 MB / 485.8 MB, free: 444 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.03456, allocations: 318.8 kB / 486.1 MB, free: 116 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.03466, allocations: 89.16 kB / 486.2 MB, free: 24 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.03487, allocations: 78.7 kB / 486.3 MB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003066/0.03518, allocations: 337.4 kB / 486.6 MB, free: 15.58 MB / 474.7 MB Notification: Performance of pre-optimization done (n=47): time 1.693e-06/0.03518, allocations: 1.344 kB / 486.6 MB, free: 15.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=47): time 0.0004646/0.03565, allocations: 326 kB / 487 MB, free: 15.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001924/0.03584, allocations: 89.11 kB / 487 MB, free: 15.15 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.03626, allocations: 0.6322 MB / 487.7 MB, free: 14.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.03629, allocations: 37.7 kB / 487.7 MB, free: 14.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.03647, allocations: 401.9 kB / 488.1 MB, free: 14.06 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.175e-05/0.03656, allocations: 178.5 kB / 488.3 MB, free: 13.89 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.03668, allocations: 126.2 kB / 488.4 MB, free: 13.76 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.498e-05/0.03676, allocations: 333.8 kB / 488.7 MB, free: 13.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.03692, allocations: 122.9 kB / 488.8 MB, free: 13.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.0372, allocations: 440 kB / 489.3 MB, free: 12.76 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.03759, allocations: 442.2 kB / 489.7 MB, free: 12.25 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.03759, allocations: 0 / 489.7 MB, free: 12.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000482/0.03808, allocations: 487.7 kB / 490.2 MB, free: 11.76 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.03811, allocations: 40.52 kB / 490.2 MB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.03812, allocations: 4 kB / 490.2 MB, free: 11.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.03813, allocations: 13.81 kB / 490.2 MB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000767/0.03889, allocations: 217.4 kB / 490.4 MB, free: 11.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.0389, allocations: 11.94 kB / 490.5 MB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.03917, allocations: 88.28 kB / 490.5 MB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.03921, allocations: 27.98 kB / 490.6 MB, free: 11.37 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (mDHW60C.count,$PRE.mDHW60C.count,mDHW60C.T_start,$PRE.mDHW60C.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.03937, allocations: 157 kB / 490.7 MB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-05/0.03944, allocations: 67.92 kB / 490.8 MB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006209/0.04006, allocations: 0.5088 MB / 491.3 MB, free: 10.63 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.04007, allocations: 5.25 kB / 491.3 MB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.04007, allocations: 0 / 491.3 MB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.04008, allocations: 7.984 kB / 491.3 MB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.0411, allocations: 1.136 MB / 492.5 MB, free: 9.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.04111, allocations: 3.938 kB / 492.5 MB, free: 9.426 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.04151, allocations: 153.5 kB / 492.6 MB, free: 9.277 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.04167, allocations: 116.4 kB / 492.7 MB, free: 9.164 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.04167, allocations: 5.281 kB / 492.7 MB, free: 9.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.04169, allocations: 15.92 kB / 492.7 MB, free: 9.145 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.0417, allocations: 4 kB / 492.7 MB, free: 9.141 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.0417, allocations: 8.641 kB / 492.8 MB, free: 9.133 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005487/0.04225, allocations: 0.6841 MB / 493.4 MB, free: 8.418 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.04231, allocations: 12 kB / 493.4 MB, free: 8.406 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.04257, allocations: 43.2 kB / 493.5 MB, free: 8.367 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.04263, allocations: 44.36 kB / 493.5 MB, free: 8.324 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.04266, allocations: 19.98 kB / 493.6 MB, free: 8.305 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000224/0.04288, allocations: 315.3 kB / 493.9 MB, free: 8 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04288, allocations: 0 / 493.9 MB, free: 8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005014/0.04338, allocations: 331.1 kB / 494.2 MB, free: 7.676 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001465/0.04485, allocations: 0.7239 MB / 494.9 MB, free: 7.332 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004279/0.04527, allocations: 401 kB / 495.3 MB, free: 6.926 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/0.04529, allocations: 12 kB / 495.3 MB, free: 6.914 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001629/0.04545, allocations: 153.8 kB / 495.5 MB, free: 6.758 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008244/0.04628, allocations: 444.5 kB / 495.9 MB, free: 6.363 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007242/0.05352, allocations: 1.811 MB / 497.7 MB, free: 4.504 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.05363, allocations: 183.5 kB / 497.9 MB, free: 4.305 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005961/0.05423, allocations: 167.5 kB / 498.1 MB, free: 4.168 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005198/0.05475, allocations: 323.3 kB / 498.4 MB, free: 3.855 MB / 474.7 MB Notification: Performance of SimCode: time 5.92e-07/0.05475, allocations: 0 / 498.4 MB, free: 3.855 MB / 474.7 MB Notification: Performance of Templates: time 0.01993/0.07468, allocations: 18.7 MB / 0.5049 GB, free: 1.742 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.sim & ./IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.867078867740929]