Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 100.3 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9663/0.9663, allocations: 143.3 MB / 434.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003023, allocations: 8 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1516, allocations: 83.41 MB / 0.5973 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003661/0.1553, allocations: 3.066 MB / 0.6003 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003039/0.1584, allocations: 2.194 MB / 0.6024 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.622e-05/0.1585, allocations: 0 / 0.6024 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.1588, allocations: 39.86 kB / 0.6025 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.1591, allocations: 79.75 kB / 0.6025 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.1604, allocations: 450.4 kB / 0.603 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000218/0.1606, allocations: 172.6 kB / 0.6031 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.1607, allocations: 9.562 kB / 0.6031 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.1609, allocations: 99.73 kB / 0.6032 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.161, allocations: 75.69 kB / 0.6033 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.161, allocations: 8 kB / 0.6033 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007195/0.1617, allocations: 399.5 kB / 0.6037 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.479e-05/0.1618, allocations: 35.89 kB / 0.6037 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.665e-05/0.1619, allocations: 57.64 kB / 0.6038 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003649/0.1622, allocations: 255.6 kB / 0.604 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1623, allocations: 4 kB / 0.604 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1623, allocations: 0 / 0.604 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.1623, allocations: 0 / 0.604 GB, free: 0.8828 MB / 0.4981 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.0006737/0.163, allocations: 479 kB / 0.6045 GB, free: 372 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.163, allocations: 8.031 kB / 0.6045 GB, free: 364 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/0.1649, allocations: 191.5 kB / 0.6047 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2402/0.4051, allocations: 200.7 kB / 0.6049 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.4052, allocations: 11.7 kB / 0.6049 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.4052, allocations: 15.12 kB / 0.6049 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006397/0.4059, allocations: 300.1 kB / 0.6052 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.4059, allocations: 0 / 0.6052 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.4059, allocations: 9.656 kB / 0.6052 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.406, allocations: 6.312 kB / 0.6052 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006566/0.4066, allocations: 262 kB / 0.6054 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.408, allocations: 1.39 MB / 0.6068 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005979/0.4086, allocations: 199.2 kB / 0.607 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.4087, allocations: 8.547 kB / 0.607 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.4087, allocations: 37.25 kB / 0.607 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.4087, allocations: 0 / 0.607 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0007221/0.4094, allocations: 241.1 kB / 0.6073 GB, free: 39.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.4094, allocations: 62.19 kB / 0.6073 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.4096, allocations: 150.7 kB / 0.6075 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.4096, allocations: 32.08 kB / 0.6075 GB, free: 39.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.4096, allocations: 126.8 kB / 0.6076 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.4097, allocations: 66.62 kB / 0.6077 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.4097, allocations: 8.469 kB / 0.6077 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.36e-05/0.4098, allocations: 320.1 kB / 0.608 GB, free: 39.01 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.4099, allocations: 62.39 kB / 0.6081 GB, free: 39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.4102, allocations: 142.8 kB / 0.6082 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.4104, allocations: 86.53 kB / 0.6083 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4104, allocations: 3.031 kB / 0.6083 GB, free: 38.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000504/0.4109, allocations: 250.2 kB / 0.6085 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.4109, allocations: 5.469 kB / 0.6085 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4109, allocations: 3.281 kB / 0.6085 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4109, allocations: 5.688 kB / 0.6085 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/0.4113, allocations: 72.09 kB / 0.6086 GB, free: 38.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4113, allocations: 7.094 kB / 0.6086 GB, free: 38.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.4115, allocations: 35.8 kB / 0.6086 GB, free: 38.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.4116, allocations: 15.2 kB / 0.6087 GB, free: 38.83 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.661e-05/0.4117, allocations: 126.4 kB / 0.6088 GB, free: 38.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/0.4117, allocations: 16.75 kB / 0.6088 GB, free: 38.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005719/0.4123, allocations: 233.5 kB / 0.609 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.4123, allocations: 4 kB / 0.609 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4123, allocations: 3.406 kB / 0.609 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4123, allocations: 0 / 0.609 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.4126, allocations: 242.5 kB / 0.6092 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4126, allocations: 4.516 kB / 0.6093 GB, free: 38.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.4129, allocations: 51.06 kB / 0.6093 GB, free: 38.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4129, allocations: 0 / 0.6093 GB, free: 38.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.4129, allocations: 6.844 kB / 0.6093 GB, free: 38.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.4129, allocations: 4.219 kB / 0.6093 GB, free: 38.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.4129, allocations: 4 kB / 0.6093 GB, free: 38.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000475/0.4134, allocations: 286.1 kB / 0.6096 GB, free: 38.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.947e-05/0.4135, allocations: 113.5 kB / 0.6097 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.4135, allocations: 6.766 kB / 0.6097 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.4138, allocations: 25.62 kB / 0.6097 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.4139, allocations: 12.06 kB / 0.6097 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.4139, allocations: 9.875 kB / 0.6097 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.567e-05/0.4139, allocations: 115.6 kB / 0.6099 GB, free: 38.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.414, allocations: 0 / 0.6099 GB, free: 38.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003468/0.4143, allocations: 63.34 kB / 0.6099 GB, free: 38.12 MB / 0.4981 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001737/0.4145, allocations: 144.4 kB / 0.6101 GB, free: 38.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004563/0.4149, allocations: 183.6 kB / 0.6102 GB, free: 38.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.415, allocations: 0 / 0.6102 GB, free: 38.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.4152, allocations: 83.64 kB / 0.6103 GB, free: 38.01 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.4156, allocations: 56.84 kB / 0.6104 GB, free: 38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007688/0.4163, allocations: 496 kB / 0.6108 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.4165, allocations: 0.725 MB / 0.6115 GB, free: 37.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003234/0.4168, allocations: 54.05 kB / 0.6116 GB, free: 37.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.717e-05/0.4169, allocations: 27.94 kB / 0.6116 GB, free: 37.04 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/0.4169, allocations: 3.938 kB / 0.6116 GB, free: 37.03 MB / 0.4981 GB Notification: Performance of Templates: time 0.005412/0.4223, allocations: 3.168 MB / 0.6147 GB, free: 36.85 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) Environment - environmentSimulation: