Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001235/0.001235, allocations: 192.8 kB / 16.13 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.077/1.077, allocations: 143 MB / 433 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 59.91 kB / 0.5135 GB, free: 12.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1545, allocations: 82.04 MB / 0.5936 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.008827/0.1634, allocations: 4.749 MB / 0.5982 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004423/0.1679, allocations: 2.722 MB / 0.6009 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.168, allocations: 3.938 kB / 0.6009 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.1685, allocations: 39.8 kB / 0.6009 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.1689, allocations: 83.5 kB / 0.601 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.1706, allocations: 464.5 kB / 0.6015 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005018/0.1711, allocations: 303.8 kB / 0.6017 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.105e-05/0.1712, allocations: 21.52 kB / 0.6018 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.1715, allocations: 107.6 kB / 0.6019 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.1717, allocations: 95.64 kB / 0.602 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.1717, allocations: 8 kB / 0.602 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009673/0.1727, allocations: 379.1 kB / 0.6023 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.755e-05/0.1728, allocations: 35.89 kB / 0.6024 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.173, allocations: 75.66 kB / 0.6024 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009079/0.1739, allocations: 371.3 kB / 0.6028 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1739, allocations: 0 / 0.6028 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1739, allocations: 0 / 0.6028 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.1739, allocations: 0 / 0.6028 GB, free: 0.6523 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.001318/0.1753, allocations: 0.4954 MB / 0.6033 GB, free: 112 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/0.1753, allocations: 15.97 kB / 0.6033 GB, free: 96 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002603/0.1756, allocations: 28.73 kB / 0.6033 GB, free: 68 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3066/0.4822, allocations: 212.8 kB / 0.6035 GB, free: 44.63 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.4822, allocations: 12.3 kB / 0.6035 GB, free: 44.63 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.4823, allocations: 14.88 kB / 0.6035 GB, free: 44.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.4827, allocations: 242.5 kB / 0.6038 GB, free: 44.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4827, allocations: 2.406 kB / 0.6038 GB, free: 44.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.922e-05/0.4828, allocations: 8.625 kB / 0.6038 GB, free: 44.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-05/0.4828, allocations: 4.438 kB / 0.6038 GB, free: 44.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004117/0.4832, allocations: 432.1 kB / 0.6042 GB, free: 44.56 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009649/0.4842, allocations: 0.9574 MB / 0.6051 GB, free: 43.83 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.4844, allocations: 158.2 kB / 0.6053 GB, free: 43.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.555e-05/0.4845, allocations: 66.92 kB / 0.6053 GB, free: 43.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008842/0.4854, allocations: 1.823 MB / 0.6071 GB, free: 41.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.4855, allocations: 38.56 kB / 0.6072 GB, free: 41.78 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.794e-06/0.4855, allocations: 0.6562 kB / 0.6072 GB, free: 41.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003138/0.4858, allocations: 141.3 kB / 0.6073 GB, free: 41.74 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.4858, allocations: 55.16 kB / 0.6074 GB, free: 41.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.4859, allocations: 173 kB / 0.6075 GB, free: 41.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.486, allocations: 28.83 kB / 0.6075 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.486, allocations: 138.8 kB / 0.6077 GB, free: 41.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.4861, allocations: 61.05 kB / 0.6077 GB, free: 41.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.4861, allocations: 54.11 kB / 0.6078 GB, free: 41.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.989e-05/0.4862, allocations: 329 kB / 0.6081 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.24e-05/0.4863, allocations: 33.53 kB / 0.6081 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.081e-05/0.4864, allocations: 139 kB / 0.6083 GB, free: 40.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.4865, allocations: 206.5 kB / 0.6085 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4866, allocations: 0 / 0.6085 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002749/0.4868, allocations: 212.9 kB / 0.6087 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4869, allocations: 7.469 kB / 0.6087 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4869, allocations: 4.469 kB / 0.6087 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.4869, allocations: 5.812 kB / 0.6087 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.4871, allocations: 56.58 kB / 0.6087 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.4871, allocations: 14.5 kB / 0.6087 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.4872, allocations: 27.84 kB / 0.6088 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.4872, allocations: 15.72 kB / 0.6088 GB, free: 40.75 MB / 0.4981 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.913e-05/0.4873, allocations: 136.5 kB / 0.6089 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.4874, allocations: 18.28 kB / 0.6089 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.4876, allocations: 162.4 kB / 0.6091 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.4876, allocations: 0 / 0.6091 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4877, allocations: 0 / 0.6091 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.4877, allocations: 3.609 kB / 0.6091 GB, free: 40.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.4879, allocations: 222 kB / 0.6093 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4879, allocations: 5.75 kB / 0.6093 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-05/0.488, allocations: 23.22 kB / 0.6093 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.488, allocations: 4.594 kB / 0.6093 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.488, allocations: 3.938 kB / 0.6093 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.488, allocations: 2.531 kB / 0.6093 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.488, allocations: 0 / 0.6093 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.4882, allocations: 221.5 kB / 0.6096 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.4883, allocations: 112 kB / 0.6097 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.4883, allocations: 5.594 kB / 0.6097 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.4885, allocations: 13.2 kB / 0.6097 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.4885, allocations: 14.19 kB / 0.6097 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.4886, allocations: 14.81 kB / 0.6097 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.4886, allocations: 117 kB / 0.6098 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4886, allocations: 0 / 0.6098 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003877/0.489, allocations: 82.78 kB / 0.6099 GB, free: 40.05 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 (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.0003437/0.4894, allocations: 192 kB / 0.6101 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.4896, allocations: 119.7 kB / 0.6102 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4896, allocations: 0 / 0.6102 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.329e-05/0.4897, allocations: 48.91 kB / 0.6102 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.4902, allocations: 51.48 kB / 0.6103 GB, free: 39.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006614/0.4908, allocations: 389.9 kB / 0.6107 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.491, allocations: 0.7087 MB / 0.6114 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001657/0.4911, allocations: 52.92 kB / 0.6114 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.4912, allocations: 25.69 kB / 0.6114 GB, free: 39.01 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4912, allocations: 0 / 0.6114 GB, free: 39.01 MB / 0.4981 GB Notification: Performance of Templates: time 0.005773/0.497, allocations: 3.41 MB / 0.6148 GB, free: 38.73 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1)