Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.526/2.526, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00149/0.00149, allocations: 184.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.117/2.117, allocations: 205.3 MB / 0.6191 GB, free: 12.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001053, allocations: 92.78 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.848e-05, allocations: 4 kB / 0.8508 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8748/0.8748, allocations: 115.3 MB / 0.9634 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.322/2.197, allocations: 422.9 MB / 1.376 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/2.197, allocations: 68.5 kB / 1.376 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0573/2.254, allocations: 17.63 MB / 1.394 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.673e-06/2.254, allocations: 0 / 1.394 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.508e-06/2.254, allocations: 7.375 kB / 1.394 GB, free: 131.8 MB / 0.8542 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.0003878/2.255, allocations: 354.3 kB / 1.394 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/2.255, allocations: 8.031 kB / 1.394 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.569e-05/2.255, allocations: 5.203 kB / 1.394 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.673e-05/2.255, allocations: 170.9 kB / 1.394 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.032e-05/2.255, allocations: 29.69 kB / 1.394 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/2.255, allocations: 4 kB / 1.394 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.046e-05/2.255, allocations: 8 kB / 1.394 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.377e-05/2.255, allocations: 37.5 kB / 1.394 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/2.255, allocations: 0 / 1.394 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/2.255, allocations: 4 kB / 1.394 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/2.255, allocations: 4 kB / 1.394 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/2.256, allocations: 309.5 kB / 1.395 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.614e-05/2.256, allocations: 22.52 kB / 1.395 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.705e-05/2.256, allocations: 4.859 kB / 1.395 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-05/2.256, allocations: 81.17 kB / 1.395 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/2.256, allocations: 40.19 kB / 1.395 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/2.256, allocations: 0 / 1.395 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001717/2.256, allocations: 37.69 kB / 1.395 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/2.256, allocations: 51.41 kB / 1.395 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.43e-05/2.256, allocations: 92.94 kB / 1.395 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/2.256, allocations: 25.7 kB / 1.395 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/2.256, allocations: 95.72 kB / 1.395 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.88e-06/2.256, allocations: 32 / 1.395 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/2.256, allocations: 4 kB / 1.395 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.677e-05/2.256, allocations: 314.8 kB / 1.395 GB, free: 130 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/2.257, allocations: 11.38 kB / 1.395 GB, free: 130 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/2.257, allocations: 13.72 kB / 1.395 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.107e-05/2.257, allocations: 7.984 kB / 1.395 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/2.257, allocations: 3.938 kB / 1.395 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001515/2.257, allocations: 57.22 kB / 1.395 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/2.257, allocations: 4.938 kB / 1.395 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/2.257, allocations: 0 / 1.395 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/2.257, allocations: 0 / 1.395 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.996e-05/2.257, allocations: 7.938 kB / 1.395 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/2.257, allocations: 4 kB / 1.395 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.829e-05/2.257, allocations: 0.6562 kB / 1.395 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/2.257, allocations: 0 / 1.395 GB, free: 129.9 MB / 0.8542 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 () * 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.859e-05/2.257, allocations: 112.7 kB / 1.396 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.177e-05/2.257, allocations: 39.25 kB / 1.396 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/2.257, allocations: 4 kB / 1.396 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/2.257, allocations: 125.1 kB / 1.396 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.242e-05/2.257, allocations: 176.5 kB / 1.396 GB, free: 129.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-05/2.257, allocations: 177.7 kB / 1.396 GB, free: 129.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.181e-05/2.257, allocations: 180.2 kB / 1.396 GB, free: 129 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/2.258, allocations: 397.3 kB / 1.397 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/2.258, allocations: 105 kB / 1.397 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.127e-05/2.258, allocations: 104.9 kB / 1.397 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.539e-05/2.258, allocations: 184.2 kB / 1.397 GB, free: 128.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/2.258, allocations: 176.3 kB / 1.397 GB, free: 128 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.238e-05/2.258, allocations: 184.2 kB / 1.397 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.13e-05/2.258, allocations: 179.8 kB / 1.397 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.871e-05/2.258, allocations: 315.2 kB / 1.398 GB, free: 127.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/2.258, allocations: 182.1 kB / 1.398 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/2.258, allocations: 180.3 kB / 1.398 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/2.258, allocations: 112.9 kB / 1.398 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/2.258, allocations: 179.6 kB / 1.398 GB, free: 126.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/2.258, allocations: 101 kB / 1.398 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.154e-05/2.258, allocations: 86.09 kB / 1.399 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.01e-07/2.258, allocations: 0 / 1.399 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003391/2.259, allocations: 23.67 kB / 1.399 GB, free: 126.4 MB / 0.8542 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 () * 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.0004467/2.259, allocations: 0.8733 MB / 1.399 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.335e-05/2.259, allocations: 8.062 kB / 1.399 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/2.259, allocations: 7.812 kB / 1.399 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/2.259, allocations: 3.938 kB / 1.399 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/2.26, allocations: 0.5185 MB / 1.4 GB, free: 125 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/2.26, allocations: 164.7 kB / 1.4 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/2.26, allocations: 0.6812 MB / 1.401 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.77e-05/2.26, allocations: 6.375 kB / 1.401 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/2.26, allocations: 7.438 kB / 1.401 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/2.26, allocations: 0 / 1.401 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/2.296, allocations: 1.286 MB / 1.402 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/2.297, allocations: 163.8 kB / 1.402 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/4.56, allocations: 0 / 1.402 GB, free: 122.6 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)