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: "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 95.33 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00274/0.002741, allocations: 175.2 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.71/2.71, allocations: 223.2 MB / 240.5 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.188/1.188, allocations: 113.7 MB / 405.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005422/0.0005423, allocations: 8 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2782, allocations: 77.12 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.007081/0.2853, allocations: 3.049 MB / 0.5597 GB, free: 8.621 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00466/0.2901, allocations: 2.179 MB / 0.5618 GB, free: 6.438 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.2903, allocations: 0 / 0.5618 GB, free: 6.438 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.2907, allocations: 39.8 kB / 0.5619 GB, free: 6.398 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000403/0.2911, allocations: 75.81 kB / 0.5619 GB, free: 6.324 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.2933, allocations: 454.3 kB / 0.5624 GB, free: 5.887 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004421/0.2937, allocations: 176.7 kB / 0.5625 GB, free: 5.715 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9e-05/0.2938, allocations: 9.562 kB / 0.5625 GB, free: 5.703 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000309/0.2942, allocations: 99.67 kB / 0.5626 GB, free: 5.605 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.2943, allocations: 75.73 kB / 0.5627 GB, free: 5.531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.2944, allocations: 8 kB / 0.5627 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.2959, allocations: 399.4 kB / 0.5631 GB, free: 5.133 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.296, allocations: 35.84 kB / 0.5631 GB, free: 5.098 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.193e-05/0.2961, allocations: 57.64 kB / 0.5632 GB, free: 5.035 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008184/0.2969, allocations: 259.6 kB / 0.5634 GB, free: 4.781 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2969, allocations: 0 / 0.5634 GB, free: 4.781 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.297, allocations: 0 / 0.5634 GB, free: 4.781 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.297, allocations: 0 / 0.5634 GB, free: 4.781 MB / 430.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.001238/0.2982, allocations: 475.1 kB / 0.5639 GB, free: 4.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.251e-05/0.2983, allocations: 12.03 kB / 0.5639 GB, free: 4.254 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.037e-05/0.2984, allocations: 50.55 kB / 0.564 GB, free: 4.195 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003807/0.3022, allocations: 183.6 kB / 0.5641 GB, free: 4.016 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.3027, allocations: 206.8 kB / 0.5643 GB, free: 3.773 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-05/0.3028, allocations: 24.27 kB / 0.5643 GB, free: 3.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/0.3029, allocations: 16 kB / 0.5644 GB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.304, allocations: 296.9 kB / 0.5646 GB, free: 3.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.3041, allocations: 7.938 kB / 0.5647 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-05/0.3041, allocations: 4 kB / 0.5647 GB, free: 3.398 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.965e-05/0.3042, allocations: 8 kB / 0.5647 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.3056, allocations: 255.6 kB / 0.5649 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.3086, allocations: 1.392 MB / 0.5663 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.31, allocations: 198.5 kB / 0.5665 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.936e-05/0.3101, allocations: 7.938 kB / 0.5665 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.353e-05/0.3102, allocations: 38.55 kB / 0.5665 GB, free: 1.375 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 4.518e-06/0.3102, allocations: 4 kB / 0.5665 GB, free: 1.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.001471/0.3117, allocations: 243.3 kB / 0.5667 GB, free: 1.129 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.3118, allocations: 59.39 kB / 0.5668 GB, free: 1.059 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.312, allocations: 151.3 kB / 0.5669 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.885e-05/0.3121, allocations: 29.7 kB / 0.567 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.3123, allocations: 132 kB / 0.5671 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.137e-05/0.3124, allocations: 63.09 kB / 0.5672 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.3124, allocations: 4 kB / 0.5672 GB, free: 0.668 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.3126, allocations: 330.8 kB / 0.5675 GB, free: 344 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.313, allocations: 60.41 kB / 0.5675 GB, free: 280 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.3134, allocations: 143.7 kB / 0.5677 GB, free: 104 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.3139, allocations: 75.91 kB / 0.5677 GB, free: 28 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.3139, allocations: 0 / 0.5677 GB, free: 28 kB / 430.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009658/0.3149, allocations: 259.8 kB / 0.568 GB, free: 15.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.3149, allocations: 4 kB / 0.568 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.3149, allocations: 4 kB / 0.568 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.315, allocations: 4 kB / 0.568 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/0.3156, allocations: 71.89 kB / 0.5681 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.3156, allocations: 3.938 kB / 0.5681 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003989/0.316, allocations: 36.14 kB / 0.5681 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.3161, allocations: 8 kB / 0.5681 GB, free: 15.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002257/0.3163, allocations: 137.7 kB / 0.5682 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.162e-05/0.3164, allocations: 15.81 kB / 0.5683 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.3176, allocations: 228.4 kB / 0.5685 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.3176, allocations: 0 / 0.5685 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.3176, allocations: 3.938 kB / 0.5685 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.3176, allocations: 4 kB / 0.5685 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.3182, allocations: 257.3 kB / 0.5687 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.3183, allocations: 0 / 0.5687 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005742/0.3188, allocations: 51.97 kB / 0.5688 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.3189, allocations: 0 / 0.5688 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.3189, allocations: 3.984 kB / 0.5688 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/0.3189, allocations: 4 kB / 0.5688 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.319, allocations: 0 / 0.5688 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.32, allocations: 297.2 kB / 0.5691 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.3202, allocations: 112.8 kB / 0.5692 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.93e-05/0.3203, allocations: 8 kB / 0.5692 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/0.3208, allocations: 15.98 kB / 0.5692 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.3209, allocations: 15.98 kB / 0.5692 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/0.321, allocations: 15.98 kB / 0.5692 GB, free: 14.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.3211, allocations: 118.3 kB / 0.5693 GB, free: 14.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3211, allocations: 0 / 0.5693 GB, free: 14.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007599/0.3219, allocations: 63.94 kB / 0.5694 GB, free: 14.22 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001632/0.3236, allocations: 0.8612 MB / 0.5702 GB, free: 13.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.3247, allocations: 183.8 kB / 0.5704 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.3247, allocations: 0 / 0.5704 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004792/0.3252, allocations: 90.58 kB / 0.5705 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008471/0.3261, allocations: 47.95 kB / 0.5706 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00493/0.331, allocations: 2.608 MB / 0.5731 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.3315, allocations: 0.7215 MB / 0.5738 GB, free: 9.574 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007544/0.3323, allocations: 57.92 kB / 0.5739 GB, free: 9.516 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.3326, allocations: 43.42 kB / 0.5739 GB, free: 9.473 MB / 446.1 MB Notification: Performance of SimCode: time 1.613e-06/0.3326, allocations: 0 / 0.5739 GB, free: 9.473 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/0.4445, allocations: 4.686 MB / 0.5785 GB, free: 5.023 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000552/0.4452, allocations: 210.8 kB / 0.5787 GB, free: 4.781 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.178/3.624, allocations: 4 kB / 0.5787 GB, free: 4.777 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) Environment - environmentSimulation: