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.001085/0.001085, allocations: 111.2 kB / 17.04 MB, free: 6.078 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.001055/0.001055, allocations: 195 kB / 17.98 MB, free: 5.16 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.434/1.434, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7183/0.7183, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3245, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004629/0.3292, allocations: 4.031 MB / 0.5615 GB, free: 33.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.3316, allocations: 2.433 MB / 0.5639 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.833e-05/0.3317, allocations: 1.281 kB / 0.5639 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.332, allocations: 48.12 kB / 0.5639 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.3322, allocations: 100.4 kB / 0.564 GB, free: 32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.3335, allocations: 0.5119 MB / 0.5645 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002937/0.3338, allocations: 267.2 kB / 0.5648 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.3338, allocations: 13.84 kB / 0.5648 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.334, allocations: 114.9 kB / 0.5649 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.3342, allocations: 98.67 kB / 0.565 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.3342, allocations: 9.531 kB / 0.565 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000821/0.335, allocations: 452.4 kB / 0.5654 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.3351, allocations: 43.34 kB / 0.5655 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.046e-05/0.3352, allocations: 89.42 kB / 0.5656 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000648/0.3359, allocations: 407.5 kB / 0.566 GB, free: 31.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3359, allocations: 1.516 kB / 0.566 GB, free: 31.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3359, allocations: 0 / 0.566 GB, free: 31.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.407e-06/0.3359, allocations: 0 / 0.566 GB, free: 31.18 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.0006356/0.3365, allocations: 0.5043 MB / 0.5664 GB, free: 30.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.3366, allocations: 9.875 kB / 0.5665 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002013/0.3386, allocations: 177.3 kB / 0.5666 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.3389, allocations: 210.1 kB / 0.5668 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.3389, allocations: 15.72 kB / 0.5668 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.339, allocations: 18.5 kB / 0.5669 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006186/0.3396, allocations: 312.9 kB / 0.5672 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3396, allocations: 1.188 kB / 0.5672 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.503e-05/0.3396, allocations: 6.594 kB / 0.5672 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.3397, allocations: 8.141 kB / 0.5672 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007044/0.3404, allocations: 258.7 kB / 0.5674 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.3418, allocations: 1.393 MB / 0.5688 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/0.3424, allocations: 194.4 kB / 0.569 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.3426, allocations: 80.17 kB / 0.569 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.3427, allocations: 2.75 kB / 0.569 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.3427, allocations: 43.95 kB / 0.5691 GB, free: 28.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.3427, allocations: 0 / 0.5691 GB, free: 28.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007495/0.3434, allocations: 239.9 kB / 0.5693 GB, free: 28.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.3435, allocations: 56.14 kB / 0.5694 GB, free: 28.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.3436, allocations: 164.7 kB / 0.5695 GB, free: 28.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.3437, allocations: 28.61 kB / 0.5696 GB, free: 28.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.3437, allocations: 127.8 kB / 0.5697 GB, free: 28.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.3438, allocations: 64.31 kB / 0.5697 GB, free: 28.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.379e-05/0.3438, allocations: 46.58 kB / 0.5698 GB, free: 28.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.556e-05/0.3439, allocations: 326.2 kB / 0.5701 GB, free: 27.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.3441, allocations: 66.66 kB / 0.5702 GB, free: 27.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.3443, allocations: 146.5 kB / 0.5703 GB, free: 27.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000417/0.3448, allocations: 217.9 kB / 0.5705 GB, free: 27.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3448, allocations: 1.719 kB / 0.5705 GB, free: 27.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005678/0.3453, allocations: 253.8 kB / 0.5707 GB, free: 27.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3454, allocations: 8.672 kB / 0.5708 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.3454, allocations: 1.625 kB / 0.5708 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3454, allocations: 5.281 kB / 0.5708 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.3458, allocations: 63.88 kB / 0.5708 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.3458, allocations: 5.391 kB / 0.5708 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.3461, allocations: 36.53 kB / 0.5709 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.3461, allocations: 11.55 kB / 0.5709 GB, free: 27.57 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.096e-05/0.3462, allocations: 140.2 kB / 0.571 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.3462, allocations: 11.84 kB / 0.571 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005997/0.3469, allocations: 232.9 kB / 0.5712 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3469, allocations: 3.375 kB / 0.5712 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3469, allocations: 0 / 0.5712 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3469, allocations: 2.75 kB / 0.5712 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.3471, allocations: 242.3 kB / 0.5715 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3471, allocations: 0 / 0.5715 GB, free: 27.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003144/0.3475, allocations: 47.31 kB / 0.5715 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3475, allocations: 1.828 kB / 0.5715 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.3475, allocations: 3.672 kB / 0.5715 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3475, allocations: 1 kB / 0.5715 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3475, allocations: 0 / 0.5715 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005261/0.348, allocations: 304.5 kB / 0.5718 GB, free: 26.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.913e-05/0.3482, allocations: 109.4 kB / 0.5719 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.3482, allocations: 5 kB / 0.5719 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.3485, allocations: 15.7 kB / 0.5719 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.3485, allocations: 10.25 kB / 0.572 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.3486, allocations: 20.56 kB / 0.572 GB, free: 26.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.174e-05/0.3486, allocations: 119.6 kB / 0.5721 GB, free: 26.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3487, allocations: 1.031 kB / 0.5721 GB, free: 26.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004299/0.3491, allocations: 60.19 kB / 0.5721 GB, free: 26.69 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.000207/0.3493, allocations: 140.3 kB / 0.5723 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005312/0.3498, allocations: 183.7 kB / 0.5725 GB, free: 26.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3499, allocations: 1.062 kB / 0.5725 GB, free: 26.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.3501, allocations: 91.06 kB / 0.5725 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.3506, allocations: 70.44 kB / 0.5726 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009113/0.3515, allocations: 400.5 kB / 0.573 GB, free: 26.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.3517, allocations: 0.7189 MB / 0.5737 GB, free: 25.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002464/0.3519, allocations: 51.36 kB / 0.5737 GB, free: 25.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.91e-05/0.352, allocations: 25.34 kB / 0.5738 GB, free: 25.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.352, allocations: 0 / 0.5738 GB, free: 25.54 MB / 446.1 MB Notification: Performance of Templates: time 0.00728/0.3593, allocations: 3.386 MB / 0.5771 GB, free: 25.3 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)