Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.000924/0.000924, allocations: 92.22 kB / 19.65 MB, free: 276 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.0008988/0.0008988, allocations: 173 kB / 23.02 MB, free: 1.547 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.047/1.047, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7569/0.7569, allocations: 154.9 MB / 414.8 MB, free: 400 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.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.5207 GB, free: 1.75 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.212e-05, allocations: 4.688 kB / 0.5207 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.007371/0.007403, allocations: 4.55 MB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002255/0.009658, allocations: 2.814 MB / 0.5279 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.993e-05/0.009738, allocations: 0 / 0.5279 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.01003, allocations: 43.69 kB / 0.5279 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.01029, allocations: 109 kB / 0.5281 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.01138, allocations: 0.5193 MB / 0.5286 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.01162, allocations: 247.8 kB / 0.5288 GB, free: 9.488 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.235e-05/0.01167, allocations: 9.812 kB / 0.5288 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008177/0.01248, allocations: 0.5116 MB / 0.5293 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.0126, allocations: 80.7 kB / 0.5294 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.01262, allocations: 8 kB / 0.5294 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008159/0.01344, allocations: 497.2 kB / 0.5299 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.828e-05/0.0135, allocations: 39.83 kB / 0.5299 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.464e-05/0.01356, allocations: 55.89 kB / 0.53 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000471/0.01403, allocations: 362.8 kB / 0.5303 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.01403, allocations: 0 / 0.5303 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.162e-06/0.01403, allocations: 0 / 0.5303 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.01404, allocations: 0.9062 kB / 0.5303 GB, free: 7.965 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005813/0.01462, allocations: 0.5199 MB / 0.5308 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.01465, allocations: 12.03 kB / 0.5308 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.01481, allocations: 49.92 kB / 0.5309 GB, free: 7.348 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.01499, allocations: 152.3 kB / 0.531 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.015, allocations: 13.39 kB / 0.531 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.01502, allocations: 28.3 kB / 0.5311 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.01532, allocations: 412.8 kB / 0.5314 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.01533, allocations: 192 / 0.5314 GB, free: 6.652 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.01535, allocations: 12.81 kB / 0.5315 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/0.01538, allocations: 7.984 kB / 0.5315 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.01561, allocations: 293.6 kB / 0.5317 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/0.01635, allocations: 1.084 MB / 0.5328 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.01655, allocations: 140.4 kB / 0.5329 GB, free: 5.055 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.01661, allocations: 51.7 kB / 0.533 GB, free: 5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007437/0.01736, allocations: 0.532 MB / 0.5335 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.01738, allocations: 41.38 kB / 0.5335 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.01738, allocations: 1.188 kB / 0.5335 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0002221/0.01761, allocations: 135.3 kB / 0.5337 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.01763, allocations: 51.41 kB / 0.5337 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.914e-05/0.01773, allocations: 215 kB / 0.5339 GB, free: 3.973 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.01775, allocations: 29.7 kB / 0.534 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.01781, allocations: 194.8 kB / 0.5341 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.01784, allocations: 53.92 kB / 0.5342 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.01789, allocations: 59.34 kB / 0.5343 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.018, allocations: 0.5 MB / 0.5347 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.692e-05/0.01804, allocations: 19.98 kB / 0.5348 GB, free: 3.094 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.01814, allocations: 182.9 kB / 0.5349 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.0183, allocations: 226.5 kB / 0.5352 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.0183, allocations: 4 kB / 0.5352 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002098/0.01851, allocations: 207.9 kB / 0.5354 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.01852, allocations: 4.875 kB / 0.5354 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.01853, allocations: 4 kB / 0.5354 GB, free: 2.348 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.01854, allocations: 8.5 kB / 0.5354 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.01866, allocations: 66.72 kB / 0.5354 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.01867, allocations: 4 kB / 0.5354 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.638e-05/0.01872, allocations: 23.78 kB / 0.5355 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.01874, allocations: 16 kB / 0.5355 GB, free: 2.234 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.931e-05/0.01882, allocations: 176.4 kB / 0.5356 GB, free: 2.051 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.01885, allocations: 23.84 kB / 0.5357 GB, free: 2.027 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001985/0.01904, allocations: 146.2 kB / 0.5358 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.01905, allocations: 4.938 kB / 0.5358 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.01906, allocations: 0 / 0.5358 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01906, allocations: 0 / 0.5358 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.01919, allocations: 166.7 kB / 0.536 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.01919, allocations: 0 / 0.536 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.924e-05/0.01925, allocations: 31.98 kB / 0.536 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01925, allocations: 0 / 0.536 GB, free: 1.648 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.01926, allocations: 7.938 kB / 0.536 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01927, allocations: 4.5 kB / 0.536 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01927, allocations: 0 / 0.536 GB, free: 1.637 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.01943, allocations: 266.3 kB / 0.5363 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.01947, allocations: 33.56 kB / 0.5363 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.01948, allocations: 4 kB / 0.5363 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.01956, allocations: 8 kB / 0.5363 GB, free: 1.316 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.01959, allocations: 15.97 kB / 0.5363 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.0196, allocations: 6.156 kB / 0.5363 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.326e-05/0.01965, allocations: 154.4 kB / 0.5365 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01965, allocations: 0 / 0.5365 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002558/0.01991, allocations: 79.81 kB / 0.5366 GB, free: 1.07 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003195/0.02022, allocations: 180.6 kB / 0.5367 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001948/0.02042, allocations: 113.5 kB / 0.5368 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.02042, allocations: 4 kB / 0.5368 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.98e-05/0.02046, allocations: 53.41 kB / 0.5369 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.02071, allocations: 44.11 kB / 0.5369 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007394/0.02145, allocations: 319.9 kB / 0.5372 GB, free: 352 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.537e-05/0.0215, allocations: 75.84 kB / 0.5373 GB, free: 256 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.0216, allocations: 46.33 kB / 0.5374 GB, free: 212 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.02163, allocations: 21.06 kB / 0.5374 GB, free: 192 kB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/0.02164, allocations: 1.312 kB / 0.5374 GB, free: 192 kB / 0.4948 GB Notification: Performance of Templates: time 0.00548/0.02712, allocations: 3.487 MB / 0.5408 GB, free: 12.87 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.898568455129862]