Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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: "" <> buildModelFMU(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 183.4 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.598/0.598, allocations: 91.98 MB / 108.5 MB, free: 13.05 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.626/1.626, allocations: 223.2 MB / 354.3 MB, free: 12.17 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.001033/0.001033, allocations: 92.22 kB / 427.4 MB, free: 3.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.00035, allocations: 8 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1497, allocations: 72.3 MB / 0.5689 GB, free: 1.848 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.059/1.209, allocations: 341.4 MB / 0.9023 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/1.21, allocations: 74.22 kB / 0.9024 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02455/1.234, allocations: 13.34 MB / 0.9154 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.434e-06/1.234, allocations: 0 / 0.9154 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.234, allocations: 0 / 0.9154 GB, free: 113.9 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002576/1.234, allocations: 343.1 kB / 0.9157 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.234, allocations: 8.031 kB / 0.9157 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.43e-05/1.235, allocations: 30.56 kB / 0.9158 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/1.235, allocations: 0 / 0.9158 GB, free: 113.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.746e-05/1.235, allocations: 170.5 kB / 0.9159 GB, free: 113.3 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/1.235, allocations: 25.7 kB / 0.916 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/1.235, allocations: 0 / 0.916 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/1.235, allocations: 41.62 kB / 0.916 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/1.235, allocations: 0 / 0.916 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/1.235, allocations: 15.19 kB / 0.916 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/1.235, allocations: 3.938 kB / 0.916 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.846e-05/1.235, allocations: 8 kB / 0.916 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/1.235, allocations: 339.1 kB / 0.9163 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 2.975e-05/1.235, allocations: 18.58 kB / 0.9164 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.7e-05/1.235, allocations: 89.11 kB / 0.9164 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/1.235, allocations: 37.75 kB / 0.9165 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/1.235, allocations: 0 / 0.9165 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001267/1.236, allocations: 37.64 kB / 0.9165 GB, free: 112.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/1.236, allocations: 55.53 kB / 0.9166 GB, free: 112.5 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.937e-05/1.236, allocations: 96.05 kB / 0.9167 GB, free: 112.4 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/1.236, allocations: 25.7 kB / 0.9167 GB, free: 112.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/1.236, allocations: 88.05 kB / 0.9168 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.4e-06/1.236, allocations: 3.906 kB / 0.9168 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/1.236, allocations: 3 kB / 0.9168 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.114e-05/1.236, allocations: 310.8 kB / 0.9171 GB, free: 112 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/1.236, allocations: 7.984 kB / 0.9171 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.602e-05/1.236, allocations: 21.16 kB / 0.9171 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.852e-05/1.236, allocations: 11.88 kB / 0.9171 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/1.236, allocations: 0 / 0.9171 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.79e-05/1.236, allocations: 44.53 kB / 0.9172 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/1.236, allocations: 7.953 kB / 0.9172 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.236, allocations: 4 kB / 0.9172 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/1.236, allocations: 3.984 kB / 0.9172 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.642e-05/1.236, allocations: 8.047 kB / 0.9172 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.236, allocations: 7.938 kB / 0.9172 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.938e-05/1.236, allocations: 7.375 kB / 0.9172 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/1.236, allocations: 0 / 0.9172 GB, free: 111.8 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 5.044e-05/1.236, allocations: 105.8 kB / 0.9173 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/1.236, allocations: 4 kB / 0.9173 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.851e-05/1.236, allocations: 127.6 kB / 0.9174 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-05/1.236, allocations: 184.2 kB / 0.9176 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.268e-05/1.236, allocations: 176.3 kB / 0.9178 GB, free: 111.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.721e-05/1.236, allocations: 179.3 kB / 0.9179 GB, free: 111 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/1.236, allocations: 412.5 kB / 0.9183 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/1.237, allocations: 101 kB / 0.9184 GB, free: 110.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/1.237, allocations: 108.9 kB / 0.9185 GB, free: 110.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-05/1.237, allocations: 187.1 kB / 0.9187 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/1.237, allocations: 180.2 kB / 0.9189 GB, free: 110 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.499e-05/1.237, allocations: 180.2 kB / 0.9191 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-05/1.237, allocations: 180.3 kB / 0.9192 GB, free: 109.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.01e-05/1.237, allocations: 315.2 kB / 0.9195 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/1.237, allocations: 185 kB / 0.9197 GB, free: 109.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/1.237, allocations: 176.3 kB / 0.9199 GB, free: 108.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/1.237, allocations: 109 kB / 0.92 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/1.237, allocations: 188.2 kB / 0.9202 GB, free: 108.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/1.237, allocations: 105 kB / 0.9203 GB, free: 108.5 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.842e-05/1.237, allocations: 86.27 kB / 0.9203 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/1.237, allocations: 0 / 0.9203 GB, free: 108.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002367/1.237, allocations: 23.19 kB / 0.9204 GB, free: 108.4 MB / 0.5886 GB 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 (0): * Single equations (assignments): 0 * 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.0003122/1.238, allocations: 0.843 MB / 0.9212 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.336e-05/1.238, allocations: 4 kB / 0.9212 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.238, allocations: 0 / 0.9212 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/1.238, allocations: 0 / 0.9212 GB, free: 107.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/1.238, allocations: 0.5334 MB / 0.9217 GB, free: 107 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/1.238, allocations: 225.1 kB / 0.9219 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/1.238, allocations: 0.6809 MB / 0.9226 GB, free: 106 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.066e-05/1.238, allocations: 11.98 kB / 0.9226 GB, free: 106 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/1.238, allocations: 8.75 kB / 0.9226 GB, free: 106 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/1.238, allocations: 0 / 0.9226 GB, free: 106 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01145/1.25, allocations: 1.593 MB / 0.9242 GB, free: 104.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/1.25, allocations: 179.4 kB / 0.9243 GB, free: 104.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.875, allocations: 3.938 kB / 0.9243 GB, free: 104.3 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)