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.004929/0.004929, allocations: 102.1 kB / 15.73 MB, free: 6.469 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.001634/0.001634, allocations: 193.8 kB / 16.67 MB, free: 6.379 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 282.5 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9283/0.9283, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 95.84 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1644, allocations: 86.97 MB / 0.7664 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.00548/0.1699, allocations: 4.718 MB / 0.771 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002634/0.1726, allocations: 2.698 MB / 0.7737 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.459e-05/0.1727, allocations: 3.938 kB / 0.7737 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.1729, allocations: 47.67 kB / 0.7737 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.1732, allocations: 95.36 kB / 0.7738 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.1743, allocations: 0.5051 MB / 0.7743 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.1746, allocations: 227.9 kB / 0.7745 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.343e-05/0.1746, allocations: 17.55 kB / 0.7745 GB, free: 52 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2979/0.4725, allocations: 107.3 kB / 0.7746 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.4727, allocations: 88.23 kB / 0.7747 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.4728, allocations: 8.375 kB / 0.7747 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008691/0.4736, allocations: 371 kB / 0.7751 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.519e-05/0.4737, allocations: 36.97 kB / 0.7751 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.4738, allocations: 81.14 kB / 0.7752 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006134/0.4745, allocations: 363.8 kB / 0.7755 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4745, allocations: 1.75 kB / 0.7755 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4745, allocations: 1.219 kB / 0.7755 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.4745, allocations: 0 / 0.7755 GB, free: 9.207 MB / 0.5606 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.0007148/0.4752, allocations: 0.5018 MB / 0.776 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.4753, allocations: 10.12 kB / 0.776 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.4754, allocations: 22.23 kB / 0.7761 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.4758, allocations: 222.2 kB / 0.7763 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.4758, allocations: 9.359 kB / 0.7763 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.4758, allocations: 17.59 kB / 0.7763 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004275/0.4762, allocations: 250 kB / 0.7765 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4763, allocations: 2.344 kB / 0.7765 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.4763, allocations: 7.312 kB / 0.7765 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.724e-05/0.4763, allocations: 6.625 kB / 0.7766 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00063/0.477, allocations: 429.4 kB / 0.777 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009704/0.4779, allocations: 0.9476 MB / 0.7779 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.4782, allocations: 163.8 kB / 0.778 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.7e-05/0.4783, allocations: 64.14 kB / 0.7781 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009945/0.4793, allocations: 1.83 MB / 0.7799 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.4794, allocations: 42.36 kB / 0.7799 GB, free: 21.69 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.4794, allocations: 0 / 0.7799 GB, free: 21.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0003395/0.4797, allocations: 142 kB / 0.7801 GB, free: 21.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.4798, allocations: 65.97 kB / 0.7801 GB, free: 21.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.4799, allocations: 165.8 kB / 0.7803 GB, free: 21.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.48, allocations: 28.52 kB / 0.7803 GB, free: 21.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.48, allocations: 141.3 kB / 0.7805 GB, free: 21.33 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.4801, allocations: 56.47 kB / 0.7805 GB, free: 21.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/0.4801, allocations: 54.84 kB / 0.7806 GB, free: 21.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.4803, allocations: 326.7 kB / 0.7809 GB, free: 20.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.148e-05/0.4803, allocations: 41.45 kB / 0.7809 GB, free: 20.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.4804, allocations: 135.6 kB / 0.781 GB, free: 20.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.4806, allocations: 194.9 kB / 0.7812 GB, free: 20.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4806, allocations: 0.875 kB / 0.7812 GB, free: 20.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003164/0.481, allocations: 222.5 kB / 0.7814 GB, free: 20.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.481, allocations: 6.469 kB / 0.7814 GB, free: 20.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.481, allocations: 3.094 kB / 0.7814 GB, free: 20.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.481, allocations: 6.609 kB / 0.7815 GB, free: 20.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.4812, allocations: 51.84 kB / 0.7815 GB, free: 20.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.4812, allocations: 12.02 kB / 0.7815 GB, free: 20.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.4813, allocations: 30.44 kB / 0.7815 GB, free: 20.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.4814, allocations: 15.94 kB / 0.7816 GB, free: 20.64 MB / 0.5762 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.0001086/0.4815, allocations: 130.3 kB / 0.7817 GB, free: 20.53 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.4815, allocations: 20.91 kB / 0.7817 GB, free: 20.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.4818, allocations: 156.5 kB / 0.7819 GB, free: 20.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.4819, allocations: 3.156 kB / 0.7819 GB, free: 20.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4819, allocations: 5.578 kB / 0.7819 GB, free: 20.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.4819, allocations: 1.078 kB / 0.7819 GB, free: 20.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.4821, allocations: 223.9 kB / 0.7821 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4821, allocations: 0 / 0.7821 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.05e-05/0.4822, allocations: 22.44 kB / 0.7821 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4822, allocations: 1.125 kB / 0.7821 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.4823, allocations: 5.094 kB / 0.7821 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4823, allocations: 0.9375 kB / 0.7821 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4823, allocations: 4.781 kB / 0.7821 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.4825, allocations: 218.7 kB / 0.7823 GB, free: 20.13 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.4826, allocations: 116.9 kB / 0.7824 GB, free: 20.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.4826, allocations: 2.188 kB / 0.7824 GB, free: 20.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.4828, allocations: 14.3 kB / 0.7824 GB, free: 20.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.069e-05/0.4829, allocations: 15.73 kB / 0.7825 GB, free: 20.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.4829, allocations: 12.34 kB / 0.7825 GB, free: 20.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.665e-05/0.483, allocations: 122.2 kB / 0.7826 GB, free: 19.94 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.483, allocations: 0 / 0.7826 GB, free: 19.94 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003973/0.4834, allocations: 81.11 kB / 0.7827 GB, free: 19.93 MB / 0.5762 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.0003073/0.4837, allocations: 188.8 kB / 0.7828 GB, free: 19.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.484, allocations: 116.8 kB / 0.783 GB, free: 19.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.484, allocations: 0.8438 kB / 0.783 GB, free: 19.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.809e-05/0.4841, allocations: 46.09 kB / 0.783 GB, free: 19.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.4845, allocations: 48.59 kB / 0.783 GB, free: 19.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006259/0.4851, allocations: 343.1 kB / 0.7834 GB, free: 19.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.4854, allocations: 0.722 MB / 0.7841 GB, free: 18.94 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001491/0.4856, allocations: 40.8 kB / 0.7841 GB, free: 18.92 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.4856, allocations: 25.38 kB / 0.7841 GB, free: 18.91 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/0.4856, allocations: 0 / 0.7841 GB, free: 18.91 MB / 0.5762 GB Notification: Performance of Templates: time 0.006732/0.4924, allocations: 3.477 MB / 0.7875 GB, free: 18.64 MB / 0.5762 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)