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.001036/0.001036, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001159/0.001159, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 1.009/1.009, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 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 master/package.mo): time 0.7893/0.7893, allocations: 154.9 MB / 415.1 MB, free: 228 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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 master/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 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 2.374e-06/2.374e-06, allocations: 4 kB / 480.4 MB, free: 6.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.334e-05, allocations: 3.219 kB / 480.4 MB, free: 6.496 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.01095/0.01097, allocations: 12.8 MB / 493.2 MB, free: 9.719 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.008964/0.01994, allocations: 6.124 MB / 499.3 MB, free: 3.637 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.02127, allocations: 67.44 kB / 499.4 MB, free: 3.57 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007832/0.02205, allocations: 346.3 kB / 499.7 MB, free: 3.23 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.02401, allocations: 1.093 MB / 0.4891 GB, free: 2.141 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.02599, allocations: 1.193 MB / 0.4902 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003071/0.02907, allocations: 2.676 MB / 0.4929 GB, free: 14.28 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.03062, allocations: 0.9286 MB / 0.4938 GB, free: 13.34 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.03242, allocations: 1.312 MB / 0.495 GB, free: 12.04 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000922/0.03334, allocations: 0.662 MB / 0.4957 GB, free: 11.38 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.03351, allocations: 108 kB / 0.4958 GB, free: 11.28 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007684/0.03428, allocations: 431.3 kB / 0.4962 GB, free: 10.86 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.03447, allocations: 286.8 kB / 0.4965 GB, free: 10.57 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003917/0.03486, allocations: 423 kB / 0.4969 GB, free: 10.16 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.03625, allocations: 1.141 MB / 0.498 GB, free: 9.016 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.03625, allocations: 0.8125 kB / 0.498 GB, free: 9.016 MB / 474.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.03626, allocations: 0 / 0.498 GB, free: 9.016 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.03628, allocations: 0.5 kB / 0.498 GB, free: 9.016 MB / 474.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.001442/0.03772, allocations: 1.401 MB / 0.4994 GB, free: 7.582 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.03775, allocations: 12.03 kB / 0.4994 GB, free: 7.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006948/0.03844, allocations: 283.4 kB / 0.4996 GB, free: 7.297 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008483/0.03929, allocations: 0.6569 MB / 0.5003 GB, free: 6.617 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.03932, allocations: 62.38 kB / 0.5003 GB, free: 6.555 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.681e-05/0.0394, allocations: 81.28 kB / 0.5004 GB, free: 6.477 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008711/0.04027, allocations: 0.8365 MB / 0.5012 GB, free: 5.555 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.04029, allocations: 1.844 kB / 0.5012 GB, free: 5.555 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.04033, allocations: 32 kB / 0.5013 GB, free: 5.523 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.04034, allocations: 20 kB / 0.5013 GB, free: 5.504 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003741/0.04072, allocations: 284.2 kB / 0.5016 GB, free: 5.227 MB / 474.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.002494/0.04321, allocations: 2.58 MB / 0.5041 GB, free: 2.578 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.0436, allocations: 310.6 kB / 0.5044 GB, free: 2.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.04372, allocations: 97.58 kB / 0.5045 GB, free: 2.172 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/0.04393, allocations: 79.05 kB / 0.5045 GB, free: 2.098 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/0.04422, allocations: 345.8 kB / 0.5049 GB, free: 1.719 MB / 474.7 MB Notification: Performance of pre-optimization done (n=47): time 1.332e-06/0.04422, allocations: 0 / 0.5049 GB, free: 1.719 MB / 474.7 MB Notification: Performance of matching and sorting (n=47): time 0.0004715/0.04469, allocations: 324.2 kB / 0.5052 GB, free: 1.395 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.04473, allocations: 115.8 kB / 0.5053 GB, free: 1.258 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004416/0.04517, allocations: 0.6224 MB / 0.5059 GB, free: 0.625 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.04521, allocations: 38.92 kB / 0.5059 GB, free: 0.582 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004516/0.04566, allocations: 409.8 kB / 0.5063 GB, free: 176 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.488e-05/0.04576, allocations: 170.6 kB / 0.5065 GB, free: 4 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.0459, allocations: 126.2 kB / 0.5066 GB, free: 15.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.612e-05/0.04598, allocations: 339.6 kB / 0.5069 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.04616, allocations: 125.8 kB / 0.5071 GB, free: 15.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.04644, allocations: 430.6 kB / 0.5075 GB, free: 14.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.04686, allocations: 439.5 kB / 0.5079 GB, free: 14.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.04686, allocations: 6.969 kB / 0.5079 GB, free: 14.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0005444/0.0474, allocations: 481.4 kB / 0.5084 GB, free: 13.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.04744, allocations: 35.17 kB / 0.5084 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.04744, allocations: 8 kB / 0.5084 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.04746, allocations: 8 kB / 0.5084 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005038/0.04796, allocations: 198 kB / 0.5086 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.04797, allocations: 15.94 kB / 0.5086 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.04827, allocations: 92.62 kB / 0.5087 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.04832, allocations: 27.98 kB / 0.5087 GB, free: 13.51 MB / 490.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.0001703/0.04849, allocations: 153.2 kB / 0.5089 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/0.04857, allocations: 67.92 kB / 0.5089 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006564/0.04923, allocations: 0.5053 MB / 0.5094 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.04924, allocations: 6.016 kB / 0.5094 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.04924, allocations: 0 / 0.5094 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.04924, allocations: 4.609 kB / 0.5094 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.05041, allocations: 1.136 MB / 0.5105 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.05041, allocations: 0 / 0.5105 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.05081, allocations: 150.2 kB / 0.5107 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.05082, allocations: 4 kB / 0.5107 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.073e-05/0.05085, allocations: 23.92 kB / 0.5107 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.05085, allocations: 4 kB / 0.5107 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.05086, allocations: 6.438 kB / 0.5107 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.05145, allocations: 0.6748 MB / 0.5114 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.05163, allocations: 115.3 kB / 0.5115 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/0.05169, allocations: 23.92 kB / 0.5115 GB, free: 10.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.05195, allocations: 41.92 kB / 0.5116 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.05203, allocations: 44.36 kB / 0.5116 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.05206, allocations: 15.98 kB / 0.5116 GB, free: 10.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000256/0.05232, allocations: 314 kB / 0.5119 GB, free: 10.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.05232, allocations: 0 / 0.5119 GB, free: 10.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006672/0.05298, allocations: 331.1 kB / 0.5122 GB, free: 9.832 MB / 490.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.001372/0.05435, allocations: 0.658 MB / 0.5129 GB, free: 9.504 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000512/0.05487, allocations: 409.7 kB / 0.5133 GB, free: 9.086 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/0.05488, allocations: 12 kB / 0.5133 GB, free: 9.074 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004379/0.05532, allocations: 154.6 kB / 0.5134 GB, free: 8.922 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008659/0.05618, allocations: 375.2 kB / 0.5138 GB, free: 8.602 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.05936, allocations: 1.827 MB / 0.5156 GB, free: 6.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.05948, allocations: 181.7 kB / 0.5157 GB, free: 6.555 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004619/0.05995, allocations: 161.6 kB / 0.5159 GB, free: 6.418 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005805/0.06053, allocations: 319 kB / 0.5162 GB, free: 6.105 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/0.06053, allocations: 1.344 kB / 0.5162 GB, free: 6.105 MB / 490.7 MB Notification: Performance of Templates: time 0.02207/0.0826, allocations: 17.98 MB / 0.5338 GB, free: 4.598 MB / 0.4948 GB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.180577019229531]