Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7431/0.7431, allocations: 133.4 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 222.9 MB / 404.7 MB, free: 6.016 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 110.3 kB / 485.9 MB, free: 7.164 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 51.92 kB / 0.5636 GB, free: 69.91 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.184, allocations: 80.42 MB / 0.6421 GB, free: 5.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005497/0.1895, allocations: 4.102 MB / 0.6461 GB, free: 1.289 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002898/0.1925, allocations: 2.453 MB / 0.6485 GB, free: 14.83 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.108e-05/0.1926, allocations: 8 kB / 0.6486 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.193, allocations: 39.8 kB / 0.6486 GB, free: 14.78 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.1933, allocations: 91.41 kB / 0.6487 GB, free: 14.69 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.1948, allocations: 482.4 kB / 0.6491 GB, free: 14.22 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.1952, allocations: 339.8 kB / 0.6495 GB, free: 13.89 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.618e-05/0.1952, allocations: 13.55 kB / 0.6495 GB, free: 13.88 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.1955, allocations: 119.5 kB / 0.6496 GB, free: 13.76 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.1956, allocations: 95.59 kB / 0.6497 GB, free: 13.66 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.1956, allocations: 8 kB / 0.6497 GB, free: 13.66 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008731/0.1965, allocations: 451.1 kB / 0.6501 GB, free: 13.21 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.267e-05/0.1966, allocations: 39.88 kB / 0.6502 GB, free: 13.18 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1967, allocations: 87.59 kB / 0.6502 GB, free: 13.09 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006384/0.1974, allocations: 415.2 kB / 0.6506 GB, free: 12.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1974, allocations: 0 / 0.6506 GB, free: 12.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1974, allocations: 0 / 0.6506 GB, free: 12.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1974, allocations: 0 / 0.6506 GB, free: 12.68 MB / 458.7 MB 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.0008859/0.1983, allocations: 0.507 MB / 0.6511 GB, free: 12.13 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1984, allocations: 8.031 kB / 0.6511 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.2002, allocations: 184.5 kB / 0.6513 GB, free: 11.94 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.2005, allocations: 208.1 kB / 0.6515 GB, free: 11.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.2005, allocations: 12.7 kB / 0.6515 GB, free: 11.69 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.2006, allocations: 16.38 kB / 0.6515 GB, free: 11.67 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006452/0.2012, allocations: 300.4 kB / 0.6518 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2012, allocations: 4 kB / 0.6518 GB, free: 11.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.2013, allocations: 12 kB / 0.6518 GB, free: 11.33 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.2013, allocations: 8 kB / 0.6518 GB, free: 11.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007353/0.202, allocations: 255.6 kB / 0.6521 GB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.2037, allocations: 1.404 MB / 0.6535 GB, free: 9.551 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000678/0.2044, allocations: 198.9 kB / 0.6537 GB, free: 9.348 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.2047, allocations: 76.81 kB / 0.6537 GB, free: 9.27 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.2047, allocations: 0 / 0.6537 GB, free: 9.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.2047, allocations: 34.56 kB / 0.6538 GB, free: 9.227 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.2048, allocations: 4 kB / 0.6538 GB, free: 9.223 MB / 458.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008178/0.2056, allocations: 246.8 kB / 0.654 GB, free: 8.977 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.2056, allocations: 51.41 kB / 0.654 GB, free: 8.914 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.2058, allocations: 156 kB / 0.6542 GB, free: 8.754 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.2059, allocations: 33.7 kB / 0.6542 GB, free: 8.715 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.206, allocations: 132 kB / 0.6544 GB, free: 8.582 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.206, allocations: 67.03 kB / 0.6544 GB, free: 8.516 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.2062, allocations: 53.84 kB / 0.6545 GB, free: 8.453 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2063, allocations: 330.8 kB / 0.6548 GB, free: 8.121 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.2065, allocations: 56.42 kB / 0.6548 GB, free: 8.066 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.2068, allocations: 143.7 kB / 0.655 GB, free: 7.895 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.2073, allocations: 222.1 kB / 0.6552 GB, free: 7.645 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.2073, allocations: 0 / 0.6552 GB, free: 7.645 MB / 458.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006007/0.2079, allocations: 250.8 kB / 0.6554 GB, free: 7.395 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.208, allocations: 4 kB / 0.6554 GB, free: 7.391 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.208, allocations: 4 kB / 0.6554 GB, free: 7.387 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.208, allocations: 7.938 kB / 0.6554 GB, free: 7.379 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.2083, allocations: 67.89 kB / 0.6555 GB, free: 7.312 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.2084, allocations: 4 kB / 0.6555 GB, free: 7.309 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002356/0.2086, allocations: 31.73 kB / 0.6555 GB, free: 7.277 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.2086, allocations: 15.98 kB / 0.6556 GB, free: 7.262 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001344/0.2088, allocations: 139 kB / 0.6557 GB, free: 7.117 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.2088, allocations: 19.81 kB / 0.6557 GB, free: 7.098 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006469/0.2095, allocations: 222.7 kB / 0.6559 GB, free: 6.875 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.2095, allocations: 0 / 0.6559 GB, free: 6.875 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2095, allocations: 0 / 0.6559 GB, free: 6.875 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.2095, allocations: 0 / 0.6559 GB, free: 6.875 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.2098, allocations: 249.3 kB / 0.6562 GB, free: 6.582 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2098, allocations: 4 kB / 0.6562 GB, free: 6.578 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.2101, allocations: 51.91 kB / 0.6562 GB, free: 6.527 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2102, allocations: 0 / 0.6562 GB, free: 6.527 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.2102, allocations: 3.984 kB / 0.6562 GB, free: 6.523 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2102, allocations: 4 kB / 0.6562 GB, free: 6.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2102, allocations: 0 / 0.6562 GB, free: 6.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.2113, allocations: 0.9287 MB / 0.6571 GB, free: 5.535 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.2114, allocations: 96.98 kB / 0.6572 GB, free: 5.422 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.2115, allocations: 4 kB / 0.6572 GB, free: 5.418 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.2117, allocations: 15.98 kB / 0.6572 GB, free: 5.402 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.2118, allocations: 19.92 kB / 0.6573 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.2118, allocations: 11.98 kB / 0.6573 GB, free: 5.371 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.128e-05/0.2119, allocations: 121.5 kB / 0.6574 GB, free: 5.254 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2119, allocations: 0 / 0.6574 GB, free: 5.254 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004414/0.2123, allocations: 67.97 kB / 0.6574 GB, free: 5.188 MB / 458.7 MB 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 (20): * Single equations (assignments): 20 * 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.0002319/0.2126, allocations: 143.8 kB / 0.6576 GB, free: 5.039 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005439/0.2131, allocations: 182 kB / 0.6578 GB, free: 4.863 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.2132, allocations: 7.938 kB / 0.6578 GB, free: 4.855 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.2134, allocations: 89.94 kB / 0.6579 GB, free: 4.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.2139, allocations: 55.94 kB / 0.6579 GB, free: 4.715 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.215, allocations: 0.5976 MB / 0.6585 GB, free: 4.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.2154, allocations: 0.7176 MB / 0.6592 GB, free: 3.328 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003476/0.2157, allocations: 53.92 kB / 0.6592 GB, free: 3.277 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.692e-05/0.2158, allocations: 27.42 kB / 0.6593 GB, free: 3.25 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2158, allocations: 4 kB / 0.6593 GB, free: 3.246 MB / 458.7 MB Notification: Performance of Templates: time 0.006948/0.2228, allocations: 3.33 MB / 0.6625 GB, free: 15.95 MB / 474.7 MB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)