Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 105.6 kB / 16.4 MB, free: 6.457 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.001208/0.001208, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.243/1.243, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001996/0.001996, allocations: 287.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8882/0.8882, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 99.84 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4344, allocations: 86.98 MB / 0.7671 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.006107/0.4405, allocations: 4.706 MB / 0.7717 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.4433, allocations: 2.698 MB / 0.7743 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.4434, allocations: 0 / 0.7743 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.4437, allocations: 47.67 kB / 0.7744 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.444, allocations: 99.36 kB / 0.7745 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.4452, allocations: 0.4935 MB / 0.7749 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002795/0.4455, allocations: 231.9 kB / 0.7752 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.4456, allocations: 13.55 kB / 0.7752 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.4458, allocations: 123.5 kB / 0.7753 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.4459, allocations: 95.64 kB / 0.7754 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/0.446, allocations: 8 kB / 0.7754 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007078/0.4467, allocations: 359.3 kB / 0.7757 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.898e-05/0.4468, allocations: 39.89 kB / 0.7758 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.925e-05/0.4469, allocations: 79.64 kB / 0.7759 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006238/0.4475, allocations: 361.3 kB / 0.7762 GB, free: 10.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4475, allocations: 0 / 0.7762 GB, free: 10.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4475, allocations: 0 / 0.7762 GB, free: 10.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.4475, allocations: 4 kB / 0.7762 GB, free: 10.52 MB / 0.545 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.0006867/0.4482, allocations: 0.4992 MB / 0.7767 GB, free: 9.965 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.4483, allocations: 12.03 kB / 0.7767 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.4484, allocations: 28.73 kB / 0.7767 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.4487, allocations: 216 kB / 0.7769 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4487, allocations: 12.7 kB / 0.7769 GB, free: 9.664 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.4488, allocations: 20.3 kB / 0.777 GB, free: 9.645 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.4491, allocations: 256.1 kB / 0.7772 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4491, allocations: 0 / 0.7772 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.4491, allocations: 8 kB / 0.7772 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.4492, allocations: 4 kB / 0.7772 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004312/0.4496, allocations: 423.5 kB / 0.7776 GB, free: 8.949 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.4506, allocations: 0.9489 MB / 0.7785 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.4509, allocations: 161.6 kB / 0.7787 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.318e-05/0.451, allocations: 64.88 kB / 0.7788 GB, free: 7.676 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/0.4523, allocations: 1.833 MB / 0.7806 GB, free: 5.484 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.4523, allocations: 38.56 kB / 0.7806 GB, free: 5.438 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/0.4523, allocations: 0 / 0.7806 GB, free: 5.438 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003043/0.4526, allocations: 148.8 kB / 0.7807 GB, free: 5.289 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.4527, allocations: 55.34 kB / 0.7808 GB, free: 5.223 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.4528, allocations: 175 kB / 0.781 GB, free: 5.043 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.4528, allocations: 33.7 kB / 0.781 GB, free: 5.004 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.702e-05/0.4529, allocations: 135.8 kB / 0.7811 GB, free: 4.867 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.453, allocations: 63.17 kB / 0.7812 GB, free: 4.805 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.453, allocations: 49.61 kB / 0.7812 GB, free: 4.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.4531, allocations: 326.8 kB / 0.7815 GB, free: 4.422 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.374e-05/0.4532, allocations: 39.98 kB / 0.7816 GB, free: 4.383 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.4533, allocations: 138.2 kB / 0.7817 GB, free: 4.199 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.4535, allocations: 201.5 kB / 0.7819 GB, free: 3.953 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4536, allocations: 0 / 0.7819 GB, free: 3.953 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002975/0.4539, allocations: 212 kB / 0.7821 GB, free: 3.742 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4539, allocations: 8 kB / 0.7821 GB, free: 3.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4539, allocations: 4 kB / 0.7821 GB, free: 3.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4539, allocations: 4 kB / 0.7821 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.4541, allocations: 59.84 kB / 0.7822 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.4541, allocations: 11.88 kB / 0.7822 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.4542, allocations: 32.16 kB / 0.7822 GB, free: 3.625 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.4542, allocations: 16 kB / 0.7822 GB, free: 3.609 MB / 0.545 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 0.0001037/0.4543, allocations: 133.8 kB / 0.7824 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.4544, allocations: 15.81 kB / 0.7824 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.4547, allocations: 150.9 kB / 0.7825 GB, free: 3.301 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.4547, allocations: 7.938 kB / 0.7825 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4547, allocations: 0 / 0.7825 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4547, allocations: 0 / 0.7825 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.4549, allocations: 221.4 kB / 0.7827 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.455, allocations: 4 kB / 0.7827 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.373e-05/0.455, allocations: 23.98 kB / 0.7828 GB, free: 3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.455, allocations: 0 / 0.7828 GB, free: 3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.4551, allocations: 12 kB / 0.7828 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.4551, allocations: 3.938 kB / 0.7828 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4551, allocations: 0 / 0.7828 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.4553, allocations: 219.3 kB / 0.783 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.757e-05/0.4554, allocations: 104.9 kB / 0.7831 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.4554, allocations: 8 kB / 0.7831 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.4556, allocations: 19.92 kB / 0.7831 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.4556, allocations: 7.984 kB / 0.7831 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.4557, allocations: 15.94 kB / 0.7831 GB, free: 2.582 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.875e-05/0.4558, allocations: 120 kB / 0.7832 GB, free: 2.465 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4558, allocations: 0 / 0.7832 GB, free: 2.465 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003535/0.4561, allocations: 75.89 kB / 0.7833 GB, free: 2.391 MB / 0.545 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.0002697/0.4564, allocations: 179.1 kB / 0.7835 GB, free: 2.203 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.4566, allocations: 127.8 kB / 0.7836 GB, free: 2.082 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4566, allocations: 192 / 0.7836 GB, free: 2.082 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.983e-05/0.4567, allocations: 47.92 kB / 0.7837 GB, free: 2.035 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.4571, allocations: 54.44 kB / 0.7837 GB, free: 1.984 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006396/0.4577, allocations: 368.6 kB / 0.7841 GB, free: 1.594 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.458, allocations: 0.7128 MB / 0.7848 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.4581, allocations: 31.44 kB / 0.7848 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.4581, allocations: 0 / 0.7848 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of Templates: time 0.005008/0.4631, allocations: 3.198 MB / 0.7879 GB, free: 13.64 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1)