Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.001093, allocations: 106.5 kB / 15.98 MB, free: 5.906 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.001159/0.001159, allocations: 195.8 kB / 16.91 MB, free: 5.754 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.366/1.366, allocations: 222.9 MB / 240.6 MB, free: 13.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7767/0.7767, allocations: 126.1 MB / 416.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.91 kB / 0.4945 GB, free: 3.871 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3971, allocations: 78.7 MB / 0.5713 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005972/0.4031, allocations: 4.074 MB / 0.5753 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.4057, allocations: 2.424 MB / 0.5777 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.4059, allocations: 1.062 kB / 0.5777 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.4062, allocations: 42.53 kB / 0.5777 GB, free: 25.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003268/0.4065, allocations: 92.53 kB / 0.5778 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001567/0.4081, allocations: 494.3 kB / 0.5783 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004448/0.4086, allocations: 256.7 kB / 0.5785 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.901e-05/0.4086, allocations: 12.02 kB / 0.5785 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.4089, allocations: 121.2 kB / 0.5786 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.4091, allocations: 95.66 kB / 0.5787 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.4091, allocations: 7.75 kB / 0.5787 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.4102, allocations: 473.8 kB / 0.5792 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.161e-05/0.4103, allocations: 31.55 kB / 0.5792 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.4104, allocations: 87.78 kB / 0.5793 GB, free: 25.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009181/0.4113, allocations: 411.9 kB / 0.5797 GB, free: 25.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4114, allocations: 6.844 kB / 0.5797 GB, free: 25.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4114, allocations: 0 / 0.5797 GB, free: 25.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.4114, allocations: 0 / 0.5797 GB, free: 25.05 MB / 446.1 MB 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.0007329/0.4121, allocations: 0.5054 MB / 0.5802 GB, free: 24.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.4122, allocations: 10.38 kB / 0.5802 GB, free: 24.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/0.4142, allocations: 179.1 kB / 0.5804 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.4145, allocations: 214.5 kB / 0.5806 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.4145, allocations: 16.91 kB / 0.5806 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.4146, allocations: 14.41 kB / 0.5806 GB, free: 24.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006275/0.4152, allocations: 314.5 kB / 0.5809 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4152, allocations: 5.25 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.4153, allocations: 6.531 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.4153, allocations: 9.828 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006919/0.416, allocations: 260.8 kB / 0.5812 GB, free: 23.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.4173, allocations: 1.39 MB / 0.5825 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006182/0.418, allocations: 189.2 kB / 0.5827 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.4182, allocations: 81.28 kB / 0.5828 GB, free: 22.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.4182, allocations: 10.47 kB / 0.5828 GB, free: 22.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.4183, allocations: 37.06 kB / 0.5828 GB, free: 22.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.4183, allocations: 0.625 kB / 0.5828 GB, free: 22.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007607/0.419, allocations: 250.7 kB / 0.5831 GB, free: 22.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.4191, allocations: 52.84 kB / 0.5831 GB, free: 22.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.4192, allocations: 161.8 kB / 0.5833 GB, free: 22.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.4192, allocations: 31.33 kB / 0.5833 GB, free: 22.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.4193, allocations: 122.2 kB / 0.5834 GB, free: 21.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.4193, allocations: 58.89 kB / 0.5835 GB, free: 21.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.469e-05/0.4194, allocations: 51.3 kB / 0.5835 GB, free: 21.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.351e-05/0.4195, allocations: 322.2 kB / 0.5838 GB, free: 21.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.4197, allocations: 69.03 kB / 0.5839 GB, free: 21.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.42, allocations: 147.6 kB / 0.5841 GB, free: 21.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004424/0.4204, allocations: 222.1 kB / 0.5843 GB, free: 21.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4204, allocations: 1.188 kB / 0.5843 GB, free: 21.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005701/0.421, allocations: 248.7 kB / 0.5845 GB, free: 21.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.421, allocations: 10.14 kB / 0.5845 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.421, allocations: 7.375 kB / 0.5845 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.4211, allocations: 3.188 kB / 0.5845 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.4214, allocations: 63.08 kB / 0.5846 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.4215, allocations: 9.031 kB / 0.5846 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.4217, allocations: 35.48 kB / 0.5846 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.4218, allocations: 14.16 kB / 0.5846 GB, free: 21.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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 9.945e-05/0.4219, allocations: 131.4 kB / 0.5848 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.4219, allocations: 20.55 kB / 0.5848 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005988/0.4225, allocations: 225.4 kB / 0.585 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4225, allocations: 0 / 0.585 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4225, allocations: 5.25 kB / 0.585 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4226, allocations: 3.984 kB / 0.585 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.4228, allocations: 245.4 kB / 0.5852 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4228, allocations: 1.469 kB / 0.5852 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.4231, allocations: 46.67 kB / 0.5853 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4231, allocations: 1.344 kB / 0.5853 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.4232, allocations: 5.812 kB / 0.5853 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4232, allocations: 2.062 kB / 0.5853 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4232, allocations: 0 / 0.5853 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.4237, allocations: 304.5 kB / 0.5856 GB, free: 20.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/0.4238, allocations: 105.7 kB / 0.5857 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.4238, allocations: 4 kB / 0.5857 GB, free: 20.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.4242, allocations: 15.17 kB / 0.5857 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.4242, allocations: 14.36 kB / 0.5857 GB, free: 20.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.4242, allocations: 14.98 kB / 0.5857 GB, free: 20.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.4243, allocations: 121.7 kB / 0.5858 GB, free: 20.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4243, allocations: 0 / 0.5858 GB, free: 20.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003828/0.4247, allocations: 63.97 kB / 0.5859 GB, free: 20.02 MB / 446.1 MB 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.0001893/0.4249, allocations: 130.2 kB / 0.586 GB, free: 19.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000541/0.4254, allocations: 194.6 kB / 0.5862 GB, free: 19.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4254, allocations: 5.719 kB / 0.5862 GB, free: 19.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.4257, allocations: 90.38 kB / 0.5863 GB, free: 19.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/0.4262, allocations: 60.73 kB / 0.5864 GB, free: 19.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009366/0.4272, allocations: 461.9 kB / 0.5868 GB, free: 19.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.4273, allocations: 0.7229 MB / 0.5875 GB, free: 18.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003914/0.4277, allocations: 47.94 kB / 0.5876 GB, free: 18.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.028e-05/0.4278, allocations: 23.98 kB / 0.5876 GB, free: 18.69 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4278, allocations: 1.094 kB / 0.5876 GB, free: 18.69 MB / 446.1 MB Notification: Performance of Templates: time 0.007585/0.4354, allocations: 3.376 MB / 0.5909 GB, free: 17.02 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)