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.001288/0.001288, allocations: 105.8 kB / 16.4 MB, free: 6.461 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.001223/0.001223, allocations: 192 kB / 17.34 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002817/0.002817, allocations: 285.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.001/1.001, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002782, allocations: 95.83 kB / 0.6822 GB, free: 6.898 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3994, allocations: 86.98 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.006294/0.4056, allocations: 4.733 MB / 0.7717 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003248/0.4089, allocations: 2.702 MB / 0.7744 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.664e-05/0.409, allocations: 4 kB / 0.7744 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.4092, allocations: 47.69 kB / 0.7744 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.4095, allocations: 91.41 kB / 0.7745 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.4106, allocations: 0.5101 MB / 0.775 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.4109, allocations: 239.9 kB / 0.7752 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.411, allocations: 9.562 kB / 0.7752 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.4112, allocations: 123.5 kB / 0.7754 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.4113, allocations: 87.67 kB / 0.7754 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.4113, allocations: 8 kB / 0.7754 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006692/0.412, allocations: 367.3 kB / 0.7758 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.8e-05/0.4121, allocations: 35.89 kB / 0.7758 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.481e-05/0.4122, allocations: 83.66 kB / 0.7759 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005831/0.4128, allocations: 364.5 kB / 0.7763 GB, free: 10.49 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4128, allocations: 0 / 0.7763 GB, free: 10.49 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4128, allocations: 4 kB / 0.7763 GB, free: 10.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.4128, allocations: 0 / 0.7763 GB, free: 10.48 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.0008072/0.4136, allocations: 0.5025 MB / 0.7768 GB, free: 9.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.4136, allocations: 8.031 kB / 0.7768 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.4138, allocations: 20.84 kB / 0.7768 GB, free: 9.902 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.4141, allocations: 220.1 kB / 0.777 GB, free: 9.648 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.4141, allocations: 8.703 kB / 0.777 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.4141, allocations: 20.36 kB / 0.777 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.4146, allocations: 256.1 kB / 0.7773 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.4146, allocations: 0 / 0.7773 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.4146, allocations: 8 kB / 0.7773 GB, free: 9.344 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.4146, allocations: 4 kB / 0.7773 GB, free: 9.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005238/0.4151, allocations: 427.5 kB / 0.7777 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.4164, allocations: 0.9528 MB / 0.7786 GB, free: 7.879 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.4167, allocations: 155.4 kB / 0.7788 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.4168, allocations: 56.88 kB / 0.7788 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001627/0.4185, allocations: 1.825 MB / 0.7806 GB, free: 5.473 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.4185, allocations: 34.56 kB / 0.7806 GB, free: 5.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.492e-06/0.4185, allocations: 3.938 kB / 0.7806 GB, free: 5.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003578/0.4189, allocations: 153.4 kB / 0.7808 GB, free: 5.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.4189, allocations: 55.34 kB / 0.7808 GB, free: 5.203 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.4191, allocations: 163.3 kB / 0.781 GB, free: 5.031 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.4191, allocations: 33.7 kB / 0.781 GB, free: 4.992 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4192, allocations: 144.1 kB / 0.7812 GB, free: 4.848 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.4193, allocations: 51.53 kB / 0.7812 GB, free: 4.797 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.322e-05/0.4193, allocations: 49.66 kB / 0.7813 GB, free: 4.742 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4195, allocations: 326.8 kB / 0.7816 GB, free: 4.414 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.788e-05/0.4196, allocations: 47.97 kB / 0.7816 GB, free: 4.367 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.4197, allocations: 130.2 kB / 0.7817 GB, free: 4.191 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.42, allocations: 212.6 kB / 0.7819 GB, free: 3.938 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.42, allocations: 4 kB / 0.7819 GB, free: 3.934 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003393/0.4204, allocations: 213.2 kB / 0.7821 GB, free: 3.719 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.4204, allocations: 11.94 kB / 0.7822 GB, free: 3.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4204, allocations: 4.469 kB / 0.7822 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4204, allocations: 8 kB / 0.7822 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.4206, allocations: 59.84 kB / 0.7822 GB, free: 3.637 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.4206, allocations: 7.938 kB / 0.7822 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.4207, allocations: 31.78 kB / 0.7823 GB, free: 3.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.4208, allocations: 12 kB / 0.7823 GB, free: 3.586 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.0001208/0.4209, allocations: 129.7 kB / 0.7824 GB, free: 3.449 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.4209, allocations: 19.91 kB / 0.7824 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.4212, allocations: 147 kB / 0.7826 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.4212, allocations: 15.88 kB / 0.7826 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4212, allocations: 4 kB / 0.7826 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4212, allocations: 0 / 0.7826 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.4215, allocations: 221.5 kB / 0.7828 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4215, allocations: 0 / 0.7828 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-05/0.4216, allocations: 24 kB / 0.7828 GB, free: 2.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4216, allocations: 3.984 kB / 0.7828 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.4216, allocations: 0 / 0.7828 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.4216, allocations: 7.938 kB / 0.7828 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4216, allocations: 0 / 0.7828 GB, free: 2.961 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.4219, allocations: 226.5 kB / 0.783 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.422, allocations: 109 kB / 0.7831 GB, free: 2.602 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.422, allocations: 4 kB / 0.7831 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.4222, allocations: 19.92 kB / 0.7832 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.4223, allocations: 4 kB / 0.7832 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.4223, allocations: 15.98 kB / 0.7832 GB, free: 2.559 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001033/0.4224, allocations: 117.8 kB / 0.7833 GB, free: 2.445 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4224, allocations: 0 / 0.7833 GB, free: 2.445 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003981/0.4228, allocations: 87.8 kB / 0.7834 GB, free: 2.359 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.0003248/0.4231, allocations: 178.9 kB / 0.7835 GB, free: 2.172 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.4234, allocations: 111.8 kB / 0.7837 GB, free: 2.062 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4234, allocations: 4 kB / 0.7837 GB, free: 2.059 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.164e-05/0.4235, allocations: 39.92 kB / 0.7837 GB, free: 2.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.4239, allocations: 59.69 kB / 0.7838 GB, free: 1.965 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006965/0.4246, allocations: 346.5 kB / 0.7841 GB, free: 1.602 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.425, allocations: 0.7128 MB / 0.7848 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.4251, allocations: 49.75 kB / 0.7848 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.4252, allocations: 23.44 kB / 0.7849 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.4252, allocations: 0 / 0.7849 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of Templates: time 0.007649/0.4328, allocations: 3.459 MB / 0.7882 GB, free: 13.37 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1)