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.0008729/0.0008729, allocations: 100.4 kB / 19.71 MB, free: 448 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.0007944/0.0007944, allocations: 212.1 kB / 23 MB, free: 2.973 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.9071/0.9071, allocations: 230.6 MB / 256.8 MB, free: 9.574 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.7637/0.7637, allocations: 203.8 MB / 0.5049 GB, free: 10.39 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.0009396/0.0009396, allocations: 70.09 kB / 0.7194 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4994/0.5004, allocations: 102 MB / 0.819 GB, free: 1.312 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00174/0.5021, allocations: 1.273 MB / 0.8202 GB, free: 428 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002889/0.505, allocations: 2.781 MB / 0.8229 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.298e-05/0.505, allocations: 2.219 kB / 0.8229 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.375e-05/0.5051, allocations: 4.969 kB / 0.823 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.892e-05/0.5051, allocations: 0.9844 kB / 0.823 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.5056, allocations: 103.1 kB / 0.8231 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.64e-05/0.5057, allocations: 41.14 kB / 0.8231 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.488e-05/0.5058, allocations: 5.609 kB / 0.8231 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004322/0.5062, allocations: 181.5 kB / 0.8233 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.838e-05/0.5062, allocations: 18.72 kB / 0.8233 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.277e-06/0.5062, allocations: 1.344 kB / 0.8233 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.5063, allocations: 57.28 kB / 0.8233 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.5064, allocations: 10.59 kB / 0.8234 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.56e-05/0.5064, allocations: 17.11 kB / 0.8234 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.5065, allocations: 58.55 kB / 0.8234 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5065, allocations: 4.938 kB / 0.8234 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5065, allocations: 0 / 0.8234 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.5065, allocations: 1.344 kB / 0.8234 GB, free: 14.32 MB / 0.6198 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.0003394/0.5069, allocations: 268.5 kB / 0.8237 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.5069, allocations: 10.42 kB / 0.8237 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.507, allocations: 4.031 kB / 0.8237 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.054e-05/0.507, allocations: 104.1 kB / 0.8238 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.507, allocations: 3.469 kB / 0.8238 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.5071, allocations: 11.3 kB / 0.8238 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.5072, allocations: 144.6 kB / 0.824 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.5072, allocations: 7.938 kB / 0.824 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.5072, allocations: 1.469 kB / 0.824 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.5072, allocations: 0 / 0.824 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.807e-05/0.5073, allocations: 19.66 kB / 0.824 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.5074, allocations: 110.8 kB / 0.8241 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.687e-05/0.5075, allocations: 43.72 kB / 0.8241 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.5075, allocations: 17.83 kB / 0.8241 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004787/0.508, allocations: 253.4 kB / 0.8244 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.508, allocations: 32.22 kB / 0.8244 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.508, allocations: 5.094 kB / 0.8244 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000462/0.5085, allocations: 215.7 kB / 0.8246 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.5085, allocations: 52.78 kB / 0.8247 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.621e-05/0.5085, allocations: 100.9 kB / 0.8248 GB, free: 13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.5086, allocations: 27.14 kB / 0.8248 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.5086, allocations: 89.41 kB / 0.8249 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.5086, allocations: 28.83 kB / 0.8249 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.5086, allocations: 24.34 kB / 0.8249 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.617e-05/0.5087, allocations: 321.2 kB / 0.8252 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.5087, allocations: 15.73 kB / 0.8253 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.677e-05/0.5088, allocations: 57.03 kB / 0.8253 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.461e-05/0.5088, allocations: 69.62 kB / 0.8254 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5088, allocations: 1.344 kB / 0.8254 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000102/0.509, allocations: 97.64 kB / 0.8255 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.509, allocations: 9.625 kB / 0.8255 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.509, allocations: 6.25 kB / 0.8255 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.509, allocations: 2.219 kB / 0.8255 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/0.509, allocations: 19.69 kB / 0.8255 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.509, allocations: 5.828 kB / 0.8255 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.128e-05/0.5091, allocations: 2 kB / 0.8255 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.5091, allocations: 16 kB / 0.8255 GB, free: 12.31 MB / 0.6198 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.867e-05/0.5091, allocations: 114 kB / 0.8256 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.5092, allocations: 7.594 kB / 0.8256 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.5092, allocations: 9.781 kB / 0.8257 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.5092, allocations: 5.516 kB / 0.8257 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5092, allocations: 4.516 kB / 0.8257 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5092, allocations: 0.6094 kB / 0.8257 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.5093, allocations: 126 kB / 0.8258 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5093, allocations: 0 / 0.8258 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-05/0.5094, allocations: 19.55 kB / 0.8258 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.5094, allocations: 0 / 0.8258 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.5094, allocations: 1.094 kB / 0.8258 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5094, allocations: 1.703 kB / 0.8258 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5094, allocations: 0 / 0.8258 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.5095, allocations: 172.7 kB / 0.826 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.5096, allocations: 8.75 kB / 0.826 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.5096, allocations: 9.219 kB / 0.826 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.108e-05/0.5096, allocations: 4.141 kB / 0.826 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.5097, allocations: 3.5 kB / 0.826 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.5097, allocations: 3.219 kB / 0.826 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.219e-05/0.5097, allocations: 82.52 kB / 0.8261 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5097, allocations: 0 / 0.8261 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001556/0.5099, allocations: 11.09 kB / 0.8261 GB, free: 11.79 MB / 0.6198 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 9.976e-05/0.51, allocations: 109.2 kB / 0.8262 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.653e-05/0.5101, allocations: 44.92 kB / 0.8262 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5101, allocations: 1.25 kB / 0.8262 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.047e-05/0.5101, allocations: 19.48 kB / 0.8263 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.5103, allocations: 4.328 kB / 0.8263 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.5108, allocations: 354.8 kB / 0.8266 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.73e-05/0.5108, allocations: 71.7 kB / 0.8267 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.5109, allocations: 11.22 kB / 0.8267 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.5109, allocations: 0 / 0.8267 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of Templates: time 0.001935/0.5128, allocations: 0.8098 MB / 0.8275 GB, free: 11.21 MB / 0.6198 GB " [Timeout remaining time 659] 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.7917577852495015] Failed to read output from testmodel.py, exit status != 0: 0.5182110336609185 0.529881893 0.021075011 Calling exit ...