Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.00188/0.00188, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002286/0.002286, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.612/1.612, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.312/1.312, allocations: 154.8 MB / 414.4 MB, free: 456 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 178] 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.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.5198 GB, free: 2.32 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.326e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.316 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002518/0.002551, allocations: 1.281 MB / 0.5211 GB, free: 1.047 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004606/0.007157, allocations: 2.993 MB / 0.524 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.346e-05/0.00718, allocations: 0 / 0.524 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.0072, allocations: 8.703 kB / 0.524 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.842e-05/0.007259, allocations: 3.938 kB / 0.524 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.007821, allocations: 106.6 kB / 0.5241 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 9.225e-05/0.007914, allocations: 35.86 kB / 0.5241 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.00795, allocations: 4 kB / 0.5241 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005948/0.008544, allocations: 187.3 kB / 0.5243 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.023e-05/0.008595, allocations: 20.91 kB / 0.5243 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.00861, allocations: 0 / 0.5243 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.00876, allocations: 49.25 kB / 0.5244 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.5e-05/0.008785, allocations: 11.91 kB / 0.5244 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.969e-05/0.008815, allocations: 12 kB / 0.5244 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.00901, allocations: 63.78 kB / 0.5245 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.009013, allocations: 1.219 kB / 0.5245 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.61e-07/0.009014, allocations: 0 / 0.5245 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.009019, allocations: 0 / 0.5245 GB, free: 13.57 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005556/0.009574, allocations: 375.1 kB / 0.5248 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.009614, allocations: 11.97 kB / 0.5248 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.342e-05/0.009687, allocations: 12.89 kB / 0.5248 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.009809, allocations: 112.6 kB / 0.525 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.009825, allocations: 384 / 0.525 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.009855, allocations: 8.375 kB / 0.525 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.01005, allocations: 131.3 kB / 0.5251 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.01006, allocations: 2.938 kB / 0.5251 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.01008, allocations: 8.125 kB / 0.5251 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.01008, allocations: 0 / 0.5251 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.11e-05/0.01015, allocations: 15.98 kB / 0.5251 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.01035, allocations: 128.5 kB / 0.5252 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.01048, allocations: 58.98 kB / 0.5253 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.01051, allocations: 15.69 kB / 0.5253 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006605/0.01117, allocations: 293.3 kB / 0.5256 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.01121, allocations: 38.48 kB / 0.5256 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.01121, allocations: 0 / 0.5256 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0006287/0.01183, allocations: 242.4 kB / 0.5259 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.01188, allocations: 51.72 kB / 0.5259 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.012, allocations: 163.5 kB / 0.5261 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.01203, allocations: 29.7 kB / 0.5261 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.88e-05/0.01212, allocations: 138.8 kB / 0.5262 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.01215, allocations: 27.75 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.0122, allocations: 37.8 kB / 0.5263 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002498/0.01245, allocations: 492.1 kB / 0.5268 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.15e-05/0.01248, allocations: 15.98 kB / 0.5268 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.436e-05/0.01258, allocations: 76.89 kB / 0.5268 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.01269, allocations: 92.66 kB / 0.5269 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.01269, allocations: 0 / 0.5269 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001552/0.01285, allocations: 97.5 kB / 0.527 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.01287, allocations: 10.66 kB / 0.527 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01287, allocations: 0 / 0.527 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.01289, allocations: 8.812 kB / 0.527 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.994e-05/0.01297, allocations: 24.42 kB / 0.5271 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.01298, allocations: 1.172 kB / 0.5271 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.26e-05/0.01301, allocations: 4 kB / 0.5271 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.01302, allocations: 11.98 kB / 0.5271 GB, free: 10.59 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001221/0.01315, allocations: 171.2 kB / 0.5272 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.01318, allocations: 4 kB / 0.5272 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.01322, allocations: 12.11 kB / 0.5273 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.01322, allocations: 0 / 0.5273 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.01322, allocations: 0 / 0.5273 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.01323, allocations: 4 kB / 0.5273 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.01346, allocations: 132.6 kB / 0.5274 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.01346, allocations: 3.656 kB / 0.5274 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.537e-05/0.01354, allocations: 19.98 kB / 0.5274 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01355, allocations: 0 / 0.5274 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.01355, allocations: 0 / 0.5274 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01356, allocations: 0 / 0.5274 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.01356, allocations: 0 / 0.5274 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.01381, allocations: 235.7 kB / 0.5276 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.01383, allocations: 7.953 kB / 0.5276 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.01384, allocations: 0 / 0.5276 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.051e-05/0.01394, allocations: 11.38 kB / 0.5277 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.01396, allocations: 3.984 kB / 0.5277 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.01397, allocations: 4 kB / 0.5277 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.484e-05/0.01404, allocations: 127.5 kB / 0.5278 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01404, allocations: 0 / 0.5278 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002181/0.01426, allocations: 12 kB / 0.5278 GB, free: 9.793 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001525/0.01441, allocations: 99.23 kB / 0.5279 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001372/0.01455, allocations: 56.98 kB / 0.5279 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01455, allocations: 0 / 0.5279 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.175e-05/0.01459, allocations: 33.02 kB / 0.528 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.01482, allocations: 7.938 kB / 0.528 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005758/0.0154, allocations: 273.3 kB / 0.5282 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.083e-05/0.01547, allocations: 63.34 kB / 0.5283 GB, free: 9.262 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.973e-05/0.01552, allocations: 17.98 kB / 0.5283 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.01555, allocations: 14 kB / 0.5283 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.01555, allocations: 0 / 0.5283 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of Templates: time 0.003687/0.01923, allocations: 0.639 MB / 0.529 GB, free: 8.637 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.242584227002226]