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.0008186/0.0008187, allocations: 92.8 kB / 16.67 MB, free: 6.254 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.0009585/0.0009586, allocations: 177.9 kB / 17.57 MB, free: 5.891 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.331/1.331, allocations: 223.3 MB / 241.6 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.716/0.716, allocations: 115.5 MB / 408.2 MB, free: 7.094 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.000351, allocations: 8 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4146, allocations: 77.51 MB / 0.5606 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003949/0.4186, allocations: 3.72 MB / 0.5642 GB, free: 33.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002507/0.4211, allocations: 2.419 MB / 0.5666 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.02e-05/0.4212, allocations: 2.25 kB / 0.5666 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.4215, allocations: 44.86 kB / 0.5666 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.4218, allocations: 87.73 kB / 0.5667 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.423, allocations: 485.3 kB / 0.5672 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003842/0.4234, allocations: 338.6 kB / 0.5675 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.4235, allocations: 14.62 kB / 0.5675 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.4237, allocations: 109.1 kB / 0.5676 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.4239, allocations: 99.58 kB / 0.5677 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.4239, allocations: 6.781 kB / 0.5677 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008575/0.4248, allocations: 457.4 kB / 0.5681 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.873e-05/0.4249, allocations: 40.14 kB / 0.5682 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.425, allocations: 110.1 kB / 0.5683 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004715/0.4255, allocations: 276.1 kB / 0.5686 GB, free: 31.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4255, allocations: 0 / 0.5686 GB, free: 31.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4255, allocations: 0.5625 kB / 0.5686 GB, free: 31.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.4255, allocations: 2.281 kB / 0.5686 GB, free: 31.02 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.0006598/0.4262, allocations: 481.3 kB / 0.569 GB, free: 30.58 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4262, allocations: 13.19 kB / 0.569 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.4282, allocations: 180.1 kB / 0.5692 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.4284, allocations: 212.3 kB / 0.5694 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.4285, allocations: 15.31 kB / 0.5694 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.4285, allocations: 14.78 kB / 0.5694 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006329/0.4292, allocations: 304 kB / 0.5697 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.4292, allocations: 0 / 0.5697 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.4292, allocations: 8.25 kB / 0.5697 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.4293, allocations: 7.188 kB / 0.5697 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007333/0.43, allocations: 271.9 kB / 0.57 GB, free: 30.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/0.4314, allocations: 1.391 MB / 0.5714 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006716/0.4321, allocations: 197.2 kB / 0.5715 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.4323, allocations: 77.05 kB / 0.5716 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.4324, allocations: 6.297 kB / 0.5716 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.4324, allocations: 38.81 kB / 0.5717 GB, free: 28.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.4324, allocations: 0 / 0.5717 GB, free: 28.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007943/0.4332, allocations: 254.5 kB / 0.5719 GB, free: 28.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.4332, allocations: 52.62 kB / 0.5719 GB, free: 28.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.4334, allocations: 158.4 kB / 0.5721 GB, free: 28.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.4334, allocations: 33.11 kB / 0.5721 GB, free: 28.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.4335, allocations: 123.4 kB / 0.5722 GB, free: 28.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.4335, allocations: 60.19 kB / 0.5723 GB, free: 28.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.4336, allocations: 26.97 kB / 0.5723 GB, free: 28.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.878e-05/0.4336, allocations: 323.2 kB / 0.5726 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.4338, allocations: 66.02 kB / 0.5727 GB, free: 27.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.4341, allocations: 139.4 kB / 0.5728 GB, free: 27.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004745/0.4346, allocations: 227.1 kB / 0.5731 GB, free: 27.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4346, allocations: 1.188 kB / 0.5731 GB, free: 27.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005903/0.4352, allocations: 247 kB / 0.5733 GB, free: 27.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4352, allocations: 5.562 kB / 0.5733 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4352, allocations: 4 kB / 0.5733 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.4353, allocations: 5.422 kB / 0.5733 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.4356, allocations: 69.64 kB / 0.5734 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.4356, allocations: 10.14 kB / 0.5734 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.4359, allocations: 31.77 kB / 0.5734 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.4359, allocations: 18.83 kB / 0.5734 GB, free: 27.43 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.928e-05/0.436, allocations: 131.4 kB / 0.5736 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.4361, allocations: 13.5 kB / 0.5736 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006332/0.4367, allocations: 230.8 kB / 0.5738 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.4367, allocations: 1.5 kB / 0.5738 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.4367, allocations: 2.938 kB / 0.5738 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.4367, allocations: 4.547 kB / 0.5738 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.437, allocations: 250.9 kB / 0.574 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.437, allocations: 0.6562 kB / 0.574 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/0.4373, allocations: 47.59 kB / 0.5741 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4373, allocations: 0.7031 kB / 0.5741 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.4373, allocations: 7.359 kB / 0.5741 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4373, allocations: 1.531 kB / 0.5741 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4374, allocations: 0 / 0.5741 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.4379, allocations: 295.5 kB / 0.5744 GB, free: 26.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.841e-05/0.438, allocations: 107.3 kB / 0.5745 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.438, allocations: 6.047 kB / 0.5745 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.4383, allocations: 24.56 kB / 0.5745 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.4383, allocations: 8.484 kB / 0.5745 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.4384, allocations: 12.58 kB / 0.5745 GB, free: 26.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.915e-05/0.4385, allocations: 120.4 kB / 0.5746 GB, free: 26.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4385, allocations: 0 / 0.5746 GB, free: 26.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003744/0.4388, allocations: 63.66 kB / 0.5747 GB, free: 26.55 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.0001977/0.439, allocations: 139 kB / 0.5748 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000536/0.4396, allocations: 179.8 kB / 0.575 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4396, allocations: 0 / 0.575 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002358/0.4398, allocations: 92.06 kB / 0.5751 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.4404, allocations: 62.62 kB / 0.5751 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009711/0.4414, allocations: 0.5215 MB / 0.5757 GB, free: 26.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.4415, allocations: 0.7184 MB / 0.5764 GB, free: 25.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.4416, allocations: 31.84 kB / 0.5764 GB, free: 25.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4416, allocations: 0 / 0.5764 GB, free: 25.34 MB / 446.1 MB Notification: Performance of Templates: time 0.005477/0.4471, allocations: 2.904 MB / 0.5792 GB, free: 25.1 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)