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.0008137/0.0008137, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007237/0.0007237, allocations: 211.9 kB / 23.01 MB, free: 3.113 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.868/0.868, allocations: 230.6 MB / 256.8 MB, free: 3.453 MB / 202.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-531:190: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-531:198: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.7534/0.7534, allocations: 203.8 MB / 0.5049 GB, free: 0.6875 MB / 410.7 MB " [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.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 67.89 kB / 0.7194 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.463/0.464, allocations: 102 MB / 0.819 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002385/0.4664, allocations: 1.29 MB / 0.8203 GB, free: 24.33 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003168/0.4696, allocations: 3.015 MB / 0.8233 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/0.4696, allocations: 2 kB / 0.8233 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.4696, allocations: 1.359 kB / 0.8233 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.225e-05/0.4697, allocations: 9.656 kB / 0.8233 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.4703, allocations: 112.1 kB / 0.8234 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.789e-05/0.4704, allocations: 35.94 kB / 0.8234 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.4704, allocations: 3.297 kB / 0.8234 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004956/0.4709, allocations: 191.8 kB / 0.8236 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.132e-05/0.471, allocations: 18.86 kB / 0.8236 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.471, allocations: 1.219 kB / 0.8236 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.4712, allocations: 66.12 kB / 0.8237 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.4712, allocations: 12.95 kB / 0.8237 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.4712, allocations: 20.72 kB / 0.8237 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.4714, allocations: 63.89 kB / 0.8238 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4715, allocations: 5.453 kB / 0.8238 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4715, allocations: 1.125 kB / 0.8238 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.4715, allocations: 0 / 0.8238 GB, free: 21.98 MB / 0.6355 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.0003979/0.4719, allocations: 268.8 kB / 0.824 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.4719, allocations: 11 kB / 0.824 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.472, allocations: 7.188 kB / 0.824 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.894e-05/0.472, allocations: 109.6 kB / 0.8242 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.472, allocations: 2.062 kB / 0.8242 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.4721, allocations: 12.17 kB / 0.8242 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.4722, allocations: 53.86 kB / 0.8242 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.4722, allocations: 0 / 0.8242 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4722, allocations: 1.984 kB / 0.8242 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4722, allocations: 5.156 kB / 0.8242 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.094e-05/0.4723, allocations: 23.53 kB / 0.8242 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.4724, allocations: 134.6 kB / 0.8244 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.396e-05/0.4725, allocations: 55.86 kB / 0.8244 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.774e-05/0.4725, allocations: 15.62 kB / 0.8244 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005215/0.473, allocations: 248.2 kB / 0.8247 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.4731, allocations: 31.62 kB / 0.8247 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.4731, allocations: 0 / 0.8247 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005306/0.4736, allocations: 231.4 kB / 0.8249 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.4736, allocations: 53.73 kB / 0.825 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.469e-05/0.4737, allocations: 95.86 kB / 0.8251 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.4737, allocations: 30.92 kB / 0.8251 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.565e-05/0.4737, allocations: 85.92 kB / 0.8252 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.4737, allocations: 29.5 kB / 0.8252 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.4738, allocations: 27.33 kB / 0.8252 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.964e-05/0.4738, allocations: 318.6 kB / 0.8255 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.4738, allocations: 17.53 kB / 0.8256 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.802e-05/0.4739, allocations: 55.42 kB / 0.8256 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.469e-05/0.474, allocations: 73.19 kB / 0.8257 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.474, allocations: 1.125 kB / 0.8257 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001187/0.4741, allocations: 102.3 kB / 0.8258 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4741, allocations: 5.906 kB / 0.8258 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.4741, allocations: 1.219 kB / 0.8258 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.4741, allocations: 6.031 kB / 0.8258 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.4742, allocations: 19.47 kB / 0.8258 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.4742, allocations: 2.188 kB / 0.8258 GB, free: 20.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.4742, allocations: 18.28 kB / 0.8258 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.4742, allocations: 4.156 kB / 0.8258 GB, free: 20.02 MB / 0.6355 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 5.071e-05/0.4743, allocations: 118.8 kB / 0.8259 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.4743, allocations: 3.406 kB / 0.826 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/0.4743, allocations: 8.766 kB / 0.826 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4743, allocations: 1.375 kB / 0.826 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4743, allocations: 0 / 0.826 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4743, allocations: 6.109 kB / 0.826 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.4745, allocations: 143.6 kB / 0.8261 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.4745, allocations: 1.078 kB / 0.8261 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.233e-05/0.4745, allocations: 18.81 kB / 0.8261 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4745, allocations: 2.016 kB / 0.8261 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.4746, allocations: 0 / 0.8261 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4746, allocations: 1.875 kB / 0.8261 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4746, allocations: 0 / 0.8261 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.4747, allocations: 187.9 kB / 0.8263 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.4747, allocations: 12.36 kB / 0.8263 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.4747, allocations: 1.891 kB / 0.8263 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.819e-05/0.4748, allocations: 7.203 kB / 0.8263 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.4748, allocations: 4.25 kB / 0.8263 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.4748, allocations: 6.906 kB / 0.8263 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.66e-05/0.4748, allocations: 79.03 kB / 0.8264 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4748, allocations: 0 / 0.8264 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001617/0.475, allocations: 14.22 kB / 0.8264 GB, free: 19.46 MB / 0.6355 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.0001054/0.4751, allocations: 101 kB / 0.8265 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.4752, allocations: 42.08 kB / 0.8266 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4752, allocations: 0 / 0.8266 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.624e-05/0.4752, allocations: 14.77 kB / 0.8266 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.4755, allocations: 10.23 kB / 0.8266 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.476, allocations: 356 kB / 0.8269 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.4761, allocations: 0.6867 MB / 0.8276 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.4762, allocations: 10.72 kB / 0.8276 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of SimCode: time 8.41e-07/0.4762, allocations: 0 / 0.8276 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.002263/0.4784, allocations: 0.7914 MB / 0.8284 GB, free: 18.27 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7385198110714555] Failed to read output from testmodel.py, exit status != 0: 0.48462576395832 0.49298606 0.01971299 Calling exit ...