Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001152/0.001152, allocations: 86.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001607/0.001607, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 18.57 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.976/0.976, allocations: 177.2 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108: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/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7831/0.7831, allocations: 154.6 MB / 414.8 MB, free: 0.5234 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Fluid.Taps.Examples.DHW_example") translateModel(IDEAS.Fluid.Taps.Examples.DHW_example,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.5207 GB, free: 1.941 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.922e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.01021/0.01024, allocations: 12.7 MB / 0.5331 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006444/0.01669, allocations: 6.005 MB / 0.539 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005935/0.01728, allocations: 71.44 kB / 0.5391 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006105/0.01789, allocations: 346.5 kB / 0.5394 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.01927, allocations: 1.1 MB / 0.5405 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.0207, allocations: 1.211 MB / 0.5417 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002092/0.02279, allocations: 2.668 MB / 0.5443 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007125/0.02351, allocations: 0.8936 MB / 0.5451 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001302/0.02481, allocations: 1.338 MB / 0.5465 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005816/0.02539, allocations: 0.6942 MB / 0.5471 GB, free: 6.926 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.02549, allocations: 108 kB / 0.5472 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004805/0.02597, allocations: 419.3 kB / 0.5476 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.02615, allocations: 286.8 kB / 0.5479 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.02643, allocations: 424.8 kB / 0.5483 GB, free: 5.715 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0009316/0.02736, allocations: 1.141 MB / 0.5494 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.02736, allocations: 0 / 0.5494 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.52e-07/0.02736, allocations: 0 / 0.5494 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.02737, allocations: 0 / 0.5494 GB, free: 4.57 MB / 0.5105 GB 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.001388/0.02876, allocations: 1.545 MB / 0.5509 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.02879, allocations: 8.031 kB / 0.5509 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007244/0.02952, allocations: 343.8 kB / 0.5513 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000757/0.03027, allocations: 0.8402 MB / 0.5521 GB, free: 1.773 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.03031, allocations: 62.31 kB / 0.5522 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.193e-05/0.03039, allocations: 87.92 kB / 0.5522 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008823/0.03127, allocations: 0.8604 MB / 0.5531 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.03129, allocations: 7.922 kB / 0.5531 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.03133, allocations: 36 kB / 0.5531 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.03135, allocations: 20.97 kB / 0.5531 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.03169, allocations: 303 kB / 0.5534 GB, free: 316 kB / 0.5105 GB 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.002682/0.03437, allocations: 3.67 MB / 0.557 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.03475, allocations: 296.2 kB / 0.5573 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.03487, allocations: 105.2 kB / 0.5574 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002181/0.03509, allocations: 83.44 kB / 0.5575 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003287/0.03542, allocations: 352.5 kB / 0.5578 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 1.603e-06/0.03542, allocations: 0 / 0.5578 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.000623/0.03604, allocations: 437.9 kB / 0.5582 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.0361, allocations: 110.8 kB / 0.5583 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.03656, allocations: 0.6864 MB / 0.559 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.0366, allocations: 36.77 kB / 0.559 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000263/0.03686, allocations: 0.5611 MB / 0.5596 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.372e-05/0.03696, allocations: 166.6 kB / 0.5597 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.0371, allocations: 143.9 kB / 0.5599 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.03721, allocations: 0.5042 MB / 0.5604 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.03738, allocations: 122.9 kB / 0.5605 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.03768, allocations: 0.5027 MB / 0.561 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.03809, allocations: 497.3 kB / 0.5615 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.03809, allocations: 4 kB / 0.5615 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0006206/0.03871, allocations: 0.5811 MB / 0.562 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.03874, allocations: 41.62 kB / 0.5621 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.03875, allocations: 4 kB / 0.5621 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.03877, allocations: 12 kB / 0.5621 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.03918, allocations: 175.8 kB / 0.5622 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.03919, allocations: 19.86 kB / 0.5623 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.03947, allocations: 88.77 kB / 0.5624 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.03952, allocations: 33.11 kB / 0.5624 GB, free: 6.652 MB / 0.5261 GB 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.0001797/0.0397, allocations: 198.2 kB / 0.5626 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-05/0.0398, allocations: 104.3 kB / 0.5627 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006966/0.04049, allocations: 0.5886 MB / 0.5632 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.0405, allocations: 8 kB / 0.5633 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.0405, allocations: 0.9375 kB / 0.5633 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.04051, allocations: 3.984 kB / 0.5633 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.04198, allocations: 1.302 MB / 0.5645 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.04198, allocations: 1.344 kB / 0.5645 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.04231, allocations: 132.7 kB / 0.5647 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.04232, allocations: 0 / 0.5647 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.04234, allocations: 17.03 kB / 0.5647 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.533e-06/0.04235, allocations: 15.86 kB / 0.5647 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.04235, allocations: 0 / 0.5647 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006424/0.04299, allocations: 0.7969 MB / 0.5655 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.04317, allocations: 171.2 kB / 0.5656 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.907e-05/0.04323, allocations: 16.44 kB / 0.5656 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.04349, allocations: 49.23 kB / 0.5657 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.04355, allocations: 40.42 kB / 0.5657 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.04358, allocations: 22.83 kB / 0.5658 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000253/0.04383, allocations: 426.8 kB / 0.5662 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.04383, allocations: 0 / 0.5662 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005113/0.04434, allocations: 331.1 kB / 0.5665 GB, free: 2.363 MB / 0.5261 GB 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.0009743/0.04532, allocations: 0.547 MB / 0.567 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004453/0.04576, allocations: 432.1 kB / 0.5674 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.04576, allocations: 0 / 0.5674 GB, free: 1.586 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.04594, allocations: 183 kB / 0.5676 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008467/0.04679, allocations: 377.1 kB / 0.568 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.04959, allocations: 1.854 MB / 0.5698 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.04971, allocations: 183.5 kB / 0.5699 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003331/0.05004, allocations: 166.2 kB / 0.5701 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/0.05056, allocations: 377.9 kB / 0.5705 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of SimCode: time 5.81e-07/0.05056, allocations: 0 / 0.5705 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of Templates: time 0.01963/0.07019, allocations: 18.12 MB / 0.5882 GB, free: 12.7 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.sim & ./IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.127272926736623]