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.001268/0.001268, allocations: 112.1 kB / 16.42 MB, free: 6.473 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.001232/0.001232, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.261/1.261, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002107, allocations: 292.1 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.917/0.917, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 95.84 kB / 0.6822 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.418, allocations: 86.97 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.005153/0.4232, allocations: 4.717 MB / 0.7717 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002579/0.4258, allocations: 2.702 MB / 0.7743 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.4258, allocations: 0 / 0.7743 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002274/0.4261, allocations: 51.66 kB / 0.7744 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.4263, allocations: 91.42 kB / 0.7745 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009598/0.4273, allocations: 0.5041 MB / 0.775 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.4275, allocations: 235.9 kB / 0.7752 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.4276, allocations: 13.55 kB / 0.7752 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001841/0.4278, allocations: 119.5 kB / 0.7753 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.4279, allocations: 91.66 kB / 0.7754 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.4279, allocations: 8 kB / 0.7754 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005782/0.4285, allocations: 359.3 kB / 0.7758 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.4286, allocations: 39.89 kB / 0.7758 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.535e-05/0.4287, allocations: 83.64 kB / 0.7759 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000492/0.4292, allocations: 361.3 kB / 0.7762 GB, free: 10.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4292, allocations: 0 / 0.7762 GB, free: 10.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4292, allocations: 0 / 0.7762 GB, free: 10.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.4292, allocations: 0 / 0.7762 GB, free: 10.55 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.0006443/0.4298, allocations: 0.5031 MB / 0.7767 GB, free: 10 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.4299, allocations: 8.031 kB / 0.7767 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.4301, allocations: 20.75 kB / 0.7767 GB, free: 9.973 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.4303, allocations: 224 kB / 0.7769 GB, free: 9.715 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.4303, allocations: 12.7 kB / 0.777 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.4303, allocations: 16.38 kB / 0.777 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/0.4307, allocations: 244.1 kB / 0.7772 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.4307, allocations: 0 / 0.7772 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.4307, allocations: 12 kB / 0.7772 GB, free: 9.418 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.4308, allocations: 12 kB / 0.7772 GB, free: 9.406 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004509/0.4312, allocations: 431.5 kB / 0.7776 GB, free: 8.984 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.4322, allocations: 0.9411 MB / 0.7786 GB, free: 7.953 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002616/0.4325, allocations: 158.8 kB / 0.7787 GB, free: 7.785 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.053e-05/0.4326, allocations: 60.83 kB / 0.7788 GB, free: 7.723 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001223/0.4338, allocations: 1.836 MB / 0.7806 GB, free: 5.527 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.4339, allocations: 42.56 kB / 0.7806 GB, free: 5.477 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.4339, allocations: 0 / 0.7806 GB, free: 5.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003036/0.4342, allocations: 133.5 kB / 0.7807 GB, free: 5.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.4342, allocations: 63.28 kB / 0.7808 GB, free: 5.266 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.4344, allocations: 167.3 kB / 0.781 GB, free: 5.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.4344, allocations: 33.7 kB / 0.781 GB, free: 5.051 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.444e-05/0.4345, allocations: 139.8 kB / 0.7811 GB, free: 4.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.4345, allocations: 55.2 kB / 0.7812 GB, free: 4.855 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.4346, allocations: 57.61 kB / 0.7812 GB, free: 4.793 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4347, allocations: 326.8 kB / 0.7815 GB, free: 4.465 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.413e-05/0.4348, allocations: 35.98 kB / 0.7816 GB, free: 4.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.4349, allocations: 138.2 kB / 0.7817 GB, free: 4.246 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/0.4351, allocations: 212.8 kB / 0.7819 GB, free: 3.992 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4351, allocations: 3.938 kB / 0.7819 GB, free: 3.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003082/0.4354, allocations: 217.6 kB / 0.7821 GB, free: 3.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.4355, allocations: 4 kB / 0.7821 GB, free: 3.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.4355, allocations: 4 kB / 0.7821 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4355, allocations: 8 kB / 0.7821 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.4357, allocations: 51.92 kB / 0.7822 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.4357, allocations: 11.88 kB / 0.7822 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.4358, allocations: 27.69 kB / 0.7822 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.4358, allocations: 15.98 kB / 0.7822 GB, free: 3.648 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.000101/0.4359, allocations: 129.8 kB / 0.7824 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.436, allocations: 19.88 kB / 0.7824 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.4363, allocations: 151 kB / 0.7825 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4363, allocations: 0 / 0.7825 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.4363, allocations: 7.922 kB / 0.7825 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.793e-05/0.4364, allocations: 108.8 kB / 0.7826 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.4364, allocations: 0 / 0.7826 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.4366, allocations: 15.98 kB / 0.7826 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.4367, allocations: 15.92 kB / 0.7827 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002143/0.4369, allocations: 192.9 kB / 0.7828 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002397/0.4371, allocations: 301.6 kB / 0.7831 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.779e-05/0.4372, allocations: 43.91 kB / 0.7832 GB, free: 2.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.328e-05/0.4373, allocations: 121.8 kB / 0.7833 GB, free: 2.512 MB / 0.545 GB Notification: Performance of Backend: time 1.9e-07/0.4373, allocations: 0 / 0.7833 GB, free: 2.512 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007319/0.438, allocations: 332.6 kB / 0.7836 GB, free: 2.18 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006896/0.4387, allocations: 0.7816 MB / 0.7844 GB, free: 1.352 MB / 0.545 GB Notification: Performance of Templates: time 0.00773/0.4465, allocations: 4.732 MB / 0.789 GB, free: 12.66 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)