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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 189.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4644/0.4644, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 349.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 106.2 kB / 420 MB, free: 8.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 55.92 kB / 0.4891 GB, free: 7.688 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3233, allocations: 70.06 MB / 0.5575 GB, free: 44.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005825/0.3291, allocations: 4.108 MB / 0.5615 GB, free: 41.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.3315, allocations: 2.455 MB / 0.5639 GB, free: 38.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.3316, allocations: 0 / 0.5639 GB, free: 38.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.3319, allocations: 43.73 kB / 0.5639 GB, free: 38.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.3322, allocations: 95.47 kB / 0.564 GB, free: 38.47 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.3336, allocations: 473.4 kB / 0.5645 GB, free: 38.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.3339, allocations: 335.8 kB / 0.5648 GB, free: 37.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.423e-05/0.334, allocations: 17.55 kB / 0.5648 GB, free: 37.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.3342, allocations: 111.5 kB / 0.5649 GB, free: 37.56 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.3343, allocations: 95.59 kB / 0.565 GB, free: 37.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.3343, allocations: 8 kB / 0.565 GB, free: 37.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008206/0.3352, allocations: 459.1 kB / 0.5655 GB, free: 37.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.3352, allocations: 43.83 kB / 0.5655 GB, free: 36.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.988e-05/0.3353, allocations: 79.64 kB / 0.5656 GB, free: 36.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006064/0.3359, allocations: 409.1 kB / 0.566 GB, free: 36.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.336, allocations: 0 / 0.566 GB, free: 36.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.336, allocations: 4 kB / 0.566 GB, free: 36.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.336, allocations: 0 / 0.566 GB, free: 36.48 MB / 410.7 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.0006779/0.3367, allocations: 0.5209 MB / 0.5665 GB, free: 35.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3367, allocations: 12.03 kB / 0.5665 GB, free: 35.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.3385, allocations: 176.5 kB / 0.5667 GB, free: 35.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.3387, allocations: 216 kB / 0.5669 GB, free: 35.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.3388, allocations: 12.69 kB / 0.5669 GB, free: 35.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.3388, allocations: 20.38 kB / 0.5669 GB, free: 35.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.3394, allocations: 304.4 kB / 0.5672 GB, free: 35.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3394, allocations: 0 / 0.5672 GB, free: 35.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.3394, allocations: 11.94 kB / 0.5672 GB, free: 35.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.3395, allocations: 4 kB / 0.5672 GB, free: 35.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006265/0.3401, allocations: 264.1 kB / 0.5675 GB, free: 34.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.3414, allocations: 1.385 MB / 0.5688 GB, free: 33.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006122/0.342, allocations: 194.4 kB / 0.569 GB, free: 33.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.3423, allocations: 76.81 kB / 0.5691 GB, free: 33.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.3423, allocations: 7.984 kB / 0.5691 GB, free: 33.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.3423, allocations: 38.55 kB / 0.5691 GB, free: 33.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 2.044e-06/0.3423, allocations: 0 / 0.5691 GB, free: 33.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008022/0.3431, allocations: 251.2 kB / 0.5694 GB, free: 32.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.3432, allocations: 51.41 kB / 0.5694 GB, free: 32.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.3433, allocations: 159.8 kB / 0.5696 GB, free: 32.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.3433, allocations: 25.7 kB / 0.5696 GB, free: 32.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.3434, allocations: 132 kB / 0.5697 GB, free: 32.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.3434, allocations: 59.11 kB / 0.5698 GB, free: 32.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-05/0.3435, allocations: 57.83 kB / 0.5698 GB, free: 32.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.462e-05/0.3436, allocations: 322.8 kB / 0.5701 GB, free: 31.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.3438, allocations: 68.41 kB / 0.5702 GB, free: 31.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.344, allocations: 142.3 kB / 0.5703 GB, free: 31.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.3444, allocations: 214.9 kB / 0.5705 GB, free: 31.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3444, allocations: 4 kB / 0.5705 GB, free: 31.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005153/0.3449, allocations: 245.2 kB / 0.5708 GB, free: 31.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.345, allocations: 7.984 kB / 0.5708 GB, free: 31.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.345, allocations: 8.312 kB / 0.5708 GB, free: 31.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.345, allocations: 8 kB / 0.5708 GB, free: 31.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.3453, allocations: 63.89 kB / 0.5709 GB, free: 31.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3453, allocations: 4 kB / 0.5709 GB, free: 31.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.3456, allocations: 35.67 kB / 0.5709 GB, free: 31.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.3456, allocations: 12 kB / 0.5709 GB, free: 31.05 MB / 410.7 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 8.508e-05/0.3457, allocations: 137.7 kB / 0.571 GB, free: 30.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.3457, allocations: 19.8 kB / 0.571 GB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005632/0.3463, allocations: 226.6 kB / 0.5713 GB, free: 30.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3463, allocations: 0 / 0.5713 GB, free: 30.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3463, allocations: 4 kB / 0.5713 GB, free: 30.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3463, allocations: 3.984 kB / 0.5713 GB, free: 30.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.3466, allocations: 237.4 kB / 0.5715 GB, free: 30.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3466, allocations: 4 kB / 0.5715 GB, free: 30.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.3468, allocations: 55.88 kB / 0.5716 GB, free: 30.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3469, allocations: 0 / 0.5716 GB, free: 30.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.3469, allocations: 8 kB / 0.5716 GB, free: 30.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3469, allocations: 0 / 0.5716 GB, free: 30.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3469, allocations: 0 / 0.5716 GB, free: 30.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008784/0.3478, allocations: 0.933 MB / 0.5725 GB, free: 29.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-05/0.3479, allocations: 100.9 kB / 0.5726 GB, free: 29.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.3479, allocations: 11.98 kB / 0.5726 GB, free: 29.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.3482, allocations: 19.92 kB / 0.5726 GB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.3482, allocations: 15.92 kB / 0.5726 GB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.3482, allocations: 8 kB / 0.5726 GB, free: 29.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.563e-05/0.3483, allocations: 118.3 kB / 0.5727 GB, free: 29.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3483, allocations: 0 / 0.5727 GB, free: 29.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004214/0.3487, allocations: 68.03 kB / 0.5728 GB, free: 28.97 MB / 410.7 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.0001879/0.3489, allocations: 141.7 kB / 0.5729 GB, free: 28.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004707/0.3494, allocations: 177.3 kB / 0.5731 GB, free: 28.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3494, allocations: 0 / 0.5731 GB, free: 28.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.3496, allocations: 92.52 kB / 0.5732 GB, free: 28.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.3501, allocations: 55.94 kB / 0.5732 GB, free: 28.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008743/0.351, allocations: 0.6053 MB / 0.5738 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.3511, allocations: 0.7176 MB / 0.5745 GB, free: 27.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003229/0.3514, allocations: 53.92 kB / 0.5746 GB, free: 27.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.953e-05/0.3515, allocations: 23.42 kB / 0.5746 GB, free: 27.04 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.3515, allocations: 0 / 0.5746 GB, free: 27.04 MB / 410.7 MB Notification: Performance of Templates: time 0.005495/0.357, allocations: 3.349 MB / 0.5779 GB, free: 23.73 MB / 410.7 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)