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.0011/0.0011, allocations: 101.1 kB / 16.27 MB, free: 6.418 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.001145/0.001145, allocations: 184.5 kB / 17.19 MB, free: 5.953 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.409/1.409, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7807/0.7807, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002516/0.002517, allocations: 63.89 kB / 0.4911 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3869, allocations: 77.92 MB / 0.5672 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005417/0.3923, allocations: 4.026 MB / 0.5711 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.3949, allocations: 2.432 MB / 0.5735 GB, free: 28.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.3951, allocations: 5.25 kB / 0.5735 GB, free: 28.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002897/0.3954, allocations: 47.56 kB / 0.5736 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.3957, allocations: 97.98 kB / 0.5736 GB, free: 28.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.3975, allocations: 0.5169 MB / 0.5742 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004092/0.3979, allocations: 265.3 kB / 0.5744 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.535e-05/0.398, allocations: 10.45 kB / 0.5744 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.3983, allocations: 116.7 kB / 0.5745 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.3985, allocations: 95.45 kB / 0.5746 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.3985, allocations: 9.969 kB / 0.5746 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.3998, allocations: 453.6 kB / 0.5751 GB, free: 27.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.3999, allocations: 44.45 kB / 0.5751 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.4, allocations: 80.47 kB / 0.5752 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009754/0.401, allocations: 411.5 kB / 0.5756 GB, free: 27.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.401, allocations: 1.656 kB / 0.5756 GB, free: 27.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.401, allocations: 0 / 0.5756 GB, free: 27.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.4011, allocations: 0.625 kB / 0.5756 GB, free: 27.28 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.00074/0.4018, allocations: 0.5082 MB / 0.5761 GB, free: 26.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.4018, allocations: 9.562 kB / 0.5761 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/0.4039, allocations: 182 kB / 0.5763 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.4041, allocations: 207.2 kB / 0.5764 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.4042, allocations: 11.61 kB / 0.5765 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.4042, allocations: 16.62 kB / 0.5765 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007146/0.405, allocations: 310.6 kB / 0.5768 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.405, allocations: 2.219 kB / 0.5768 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.405, allocations: 7.375 kB / 0.5768 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.4051, allocations: 9.688 kB / 0.5768 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007384/0.4058, allocations: 263.9 kB / 0.577 GB, free: 26.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.4073, allocations: 1.397 MB / 0.5784 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006581/0.4079, allocations: 189.3 kB / 0.5786 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.4082, allocations: 84.17 kB / 0.5787 GB, free: 24.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.4082, allocations: 2.375 kB / 0.5787 GB, free: 24.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.4082, allocations: 38.3 kB / 0.5787 GB, free: 24.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.4082, allocations: 0.5 kB / 0.5787 GB, free: 24.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007946/0.409, allocations: 248.5 kB / 0.5789 GB, free: 24.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/0.4091, allocations: 53.09 kB / 0.579 GB, free: 24.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.4092, allocations: 163.8 kB / 0.5791 GB, free: 24.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.4092, allocations: 32.69 kB / 0.5792 GB, free: 24.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.4093, allocations: 124 kB / 0.5793 GB, free: 24.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.4093, allocations: 64.89 kB / 0.5794 GB, free: 24.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.548e-05/0.4094, allocations: 50.53 kB / 0.5794 GB, free: 24.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.943e-05/0.4095, allocations: 322 kB / 0.5797 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.4097, allocations: 66.52 kB / 0.5798 GB, free: 24.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.41, allocations: 142.8 kB / 0.5799 GB, free: 23.94 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.4105, allocations: 221.3 kB / 0.5801 GB, free: 23.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4105, allocations: 1.375 kB / 0.5801 GB, free: 23.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006012/0.4111, allocations: 249.8 kB / 0.5804 GB, free: 23.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.4111, allocations: 9.828 kB / 0.5804 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4111, allocations: 2.531 kB / 0.5804 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.4112, allocations: 6.891 kB / 0.5804 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.4115, allocations: 69.72 kB / 0.5805 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.4116, allocations: 8.484 kB / 0.5805 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.4118, allocations: 33.94 kB / 0.5805 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.4118, allocations: 10.12 kB / 0.5805 GB, free: 23.66 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.619e-05/0.4119, allocations: 130.7 kB / 0.5806 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.412, allocations: 18.28 kB / 0.5806 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006476/0.4127, allocations: 228.2 kB / 0.5809 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4127, allocations: 2 kB / 0.5809 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4127, allocations: 1.031 kB / 0.5809 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.4127, allocations: 3.391 kB / 0.5809 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.413, allocations: 244.6 kB / 0.5811 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.413, allocations: 0 / 0.5811 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.4133, allocations: 47.12 kB / 0.5811 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4133, allocations: 2.719 kB / 0.5811 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.4133, allocations: 7.281 kB / 0.5812 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4134, allocations: 0 / 0.5812 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4134, allocations: 3.375 kB / 0.5812 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.4139, allocations: 296.8 kB / 0.5814 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.229e-05/0.414, allocations: 105.4 kB / 0.5815 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.4141, allocations: 7.594 kB / 0.5815 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.4143, allocations: 17.52 kB / 0.5816 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.4144, allocations: 9.797 kB / 0.5816 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.4144, allocations: 17.06 kB / 0.5816 GB, free: 22.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.407e-05/0.4145, allocations: 115.8 kB / 0.5817 GB, free: 22.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4145, allocations: 0 / 0.5817 GB, free: 22.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000407/0.4149, allocations: 63.45 kB / 0.5818 GB, free: 22.79 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.0002311/0.4151, allocations: 143.9 kB / 0.5819 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005925/0.4157, allocations: 197.8 kB / 0.5821 GB, free: 22.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4158, allocations: 1.375 kB / 0.5821 GB, free: 22.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.416, allocations: 86.14 kB / 0.5822 GB, free: 22.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.4166, allocations: 66.81 kB / 0.5822 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009199/0.4175, allocations: 410 kB / 0.5826 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.4176, allocations: 0.7189 MB / 0.5833 GB, free: 21.55 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003389/0.418, allocations: 52.94 kB / 0.5834 GB, free: 21.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.271e-05/0.4181, allocations: 28.8 kB / 0.5834 GB, free: 21.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4181, allocations: 0 / 0.5834 GB, free: 21.5 MB / 446.1 MB Notification: Performance of Templates: time 0.006718/0.4248, allocations: 3.39 MB / 0.5867 GB, free: 19.82 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)