Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.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.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",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.001153/0.001153, allocations: 102.3 kB / 16.27 MB, free: 5.93 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.001183/0.001183, allocations: 188.5 kB / 17.2 MB, free: 5.574 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8746/0.8746, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.89 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4141, allocations: 77.93 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.005817/0.4199, allocations: 4.707 MB / 0.5719 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002567/0.4225, allocations: 2.696 MB / 0.5745 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.693e-05/0.4227, allocations: 1.188 kB / 0.5745 GB, free: 27.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.4229, allocations: 50.64 kB / 0.5745 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.4232, allocations: 94.52 kB / 0.5746 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.4245, allocations: 0.4978 MB / 0.5751 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.4248, allocations: 242 kB / 0.5754 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.954e-05/0.4248, allocations: 10.89 kB / 0.5754 GB, free: 26.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.425, allocations: 114.2 kB / 0.5755 GB, free: 26.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.4252, allocations: 88 kB / 0.5756 GB, free: 26.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.4252, allocations: 12.56 kB / 0.5756 GB, free: 26.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008067/0.426, allocations: 363.8 kB / 0.5759 GB, free: 26.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.586e-05/0.4261, allocations: 39.84 kB / 0.576 GB, free: 26.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.4263, allocations: 79.78 kB / 0.576 GB, free: 26.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007867/0.427, allocations: 361.4 kB / 0.5764 GB, free: 26.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4271, allocations: 0 / 0.5764 GB, free: 26.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.4271, allocations: 1.406 kB / 0.5764 GB, free: 26.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.4271, allocations: 0.8438 kB / 0.5764 GB, free: 26.54 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.0008269/0.4279, allocations: 0.5058 MB / 0.5769 GB, free: 26.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.428, allocations: 9.062 kB / 0.5769 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.213e-05/0.4281, allocations: 52.59 kB / 0.5769 GB, free: 26.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.4283, allocations: 25.11 kB / 0.577 GB, free: 26.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.4285, allocations: 213 kB / 0.5772 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.4285, allocations: 11.33 kB / 0.5772 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.4286, allocations: 15.09 kB / 0.5772 GB, free: 25.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.429, allocations: 250.9 kB / 0.5774 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4291, allocations: 1.844 kB / 0.5774 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.4291, allocations: 7.406 kB / 0.5774 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/0.4291, allocations: 11.31 kB / 0.5774 GB, free: 25.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007153/0.4298, allocations: 433.9 kB / 0.5779 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.4311, allocations: 0.9396 MB / 0.5788 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.4314, allocations: 167.5 kB / 0.5789 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.4316, allocations: 61.55 kB / 0.579 GB, free: 24.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/0.4327, allocations: 1.822 MB / 0.5808 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.4328, allocations: 37.55 kB / 0.5808 GB, free: 22.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.4328, allocations: 2.094 kB / 0.5808 GB, free: 22.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003939/0.4332, allocations: 150.3 kB / 0.581 GB, free: 22.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.4332, allocations: 53.5 kB / 0.581 GB, free: 22.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.4334, allocations: 169.2 kB / 0.5812 GB, free: 22.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.4335, allocations: 27.08 kB / 0.5812 GB, free: 22.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.4336, allocations: 150 kB / 0.5813 GB, free: 22.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.4336, allocations: 47.31 kB / 0.5814 GB, free: 22.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.771e-05/0.4337, allocations: 52.58 kB / 0.5814 GB, free: 22.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.4338, allocations: 326.6 kB / 0.5817 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.863e-05/0.4339, allocations: 36.56 kB / 0.5818 GB, free: 21.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.4341, allocations: 145 kB / 0.5819 GB, free: 21.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.4343, allocations: 202.9 kB / 0.5821 GB, free: 21.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4343, allocations: 2.031 kB / 0.5821 GB, free: 21.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003571/0.4347, allocations: 211.2 kB / 0.5823 GB, free: 21.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.4347, allocations: 6.875 kB / 0.5823 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.4347, allocations: 5.781 kB / 0.5823 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/0.4348, allocations: 10.14 kB / 0.5823 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.435, allocations: 53.72 kB / 0.5824 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.435, allocations: 9.188 kB / 0.5824 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.4351, allocations: 26.38 kB / 0.5824 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.4351, allocations: 11.84 kB / 0.5824 GB, free: 21.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001266/0.4353, allocations: 132.6 kB / 0.5826 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.91e-05/0.4353, allocations: 17.3 kB / 0.5826 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.4357, allocations: 162.3 kB / 0.5827 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.4357, allocations: 10.25 kB / 0.5827 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.4358, allocations: 2.281 kB / 0.5827 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.4358, allocations: 2.094 kB / 0.5827 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.4361, allocations: 208.7 kB / 0.5829 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4361, allocations: 0 / 0.5829 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.4362, allocations: 23.55 kB / 0.583 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.4362, allocations: 1.406 kB / 0.583 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.4362, allocations: 9.797 kB / 0.583 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.4362, allocations: 6.812 kB / 0.583 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4363, allocations: 0 / 0.583 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.4365, allocations: 222.1 kB / 0.5832 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.621e-05/0.4366, allocations: 112.4 kB / 0.5833 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.4367, allocations: 6.125 kB / 0.5833 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.4369, allocations: 15.27 kB / 0.5833 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/0.4369, allocations: 12.86 kB / 0.5833 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.4369, allocations: 13.34 kB / 0.5833 GB, free: 20.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001025/0.4371, allocations: 118.1 kB / 0.5835 GB, free: 20.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4371, allocations: 0 / 0.5835 GB, free: 20.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004856/0.4376, allocations: 80.72 kB / 0.5835 GB, free: 20.45 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007466/0.4383, allocations: 0.8257 MB / 0.5843 GB, free: 19.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.4386, allocations: 133.2 kB / 0.5845 GB, free: 19.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4386, allocations: 1.062 kB / 0.5845 GB, free: 19.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.051e-05/0.4387, allocations: 45.88 kB / 0.5845 GB, free: 19.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.4392, allocations: 65.48 kB / 0.5846 GB, free: 19.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.4414, allocations: 2.04 MB / 0.5866 GB, free: 17.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.4416, allocations: 0.715 MB / 0.5873 GB, free: 17.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001945/0.4418, allocations: 41.41 kB / 0.5873 GB, free: 17.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.4419, allocations: 52.61 kB / 0.5874 GB, free: 17.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4419, allocations: 0 / 0.5874 GB, free: 17.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/0.4645, allocations: 5.192 MB / 0.5924 GB, free: 14.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/8.06, allocations: 5.875 kB / 0.5924 GB, free: 14.59 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)