Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 289.7 MB / 302.2 MB, free: 2.199 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.001214/0.001214, allocations: 180.1 kB / 371.6 MB, free: 3.336 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.887/1.887, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009973/0.0009973, allocations: 87.64 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.985e-05/3.989e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3073, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.935/2.242, allocations: 424.7 MB / 1.395 GB, free: 302.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/2.242, allocations: 68.39 kB / 1.395 GB, free: 302.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03841/2.281, allocations: 17.72 MB / 1.412 GB, free: 300.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.898e-06/2.281, allocations: 3.422 kB / 1.412 GB, free: 300.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.257e-06/2.281, allocations: 3.391 kB / 1.412 GB, free: 300.7 MB / 0.948 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.0003184/2.281, allocations: 352.3 kB / 1.412 GB, free: 300.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/2.281, allocations: 13.22 kB / 1.412 GB, free: 300.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/2.281, allocations: 41.55 kB / 1.412 GB, free: 300.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/2.281, allocations: 8.938 kB / 1.412 GB, free: 300.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.894e-05/2.281, allocations: 159.1 kB / 1.413 GB, free: 300.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.263e-05/2.281, allocations: 31.59 kB / 1.413 GB, free: 300.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/2.281, allocations: 0 / 1.413 GB, free: 300.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/2.282, allocations: 41.03 kB / 1.413 GB, free: 300 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/2.282, allocations: 0 / 1.413 GB, free: 300 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/2.282, allocations: 5.438 kB / 1.413 GB, free: 300 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/2.282, allocations: 4 kB / 1.413 GB, free: 300 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.185e-05/2.282, allocations: 12.33 kB / 1.413 GB, free: 300 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/2.282, allocations: 336.1 kB / 1.413 GB, free: 299.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 2.585e-05/2.282, allocations: 17.86 kB / 1.413 GB, free: 299.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/2.282, allocations: 4.859 kB / 1.413 GB, free: 299.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-05/2.282, allocations: 87.3 kB / 1.413 GB, free: 299.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/2.282, allocations: 38.5 kB / 1.413 GB, free: 299.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/2.282, allocations: 0 / 1.413 GB, free: 299.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.0001252/2.282, allocations: 35.02 kB / 1.413 GB, free: 299.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/2.282, allocations: 55.41 kB / 1.413 GB, free: 299.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.827e-05/2.282, allocations: 102.2 kB / 1.413 GB, free: 299.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/2.282, allocations: 29.08 kB / 1.413 GB, free: 299.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.083e-05/2.282, allocations: 84.83 kB / 1.413 GB, free: 299.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/2.282, allocations: 3.062 kB / 1.413 GB, free: 299.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/2.282, allocations: 4.031 kB / 1.413 GB, free: 299.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.894e-05/2.283, allocations: 318.3 kB / 1.414 GB, free: 298.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/2.283, allocations: 6.906 kB / 1.414 GB, free: 298.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.706e-05/2.283, allocations: 12.47 kB / 1.414 GB, free: 298.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.979e-05/2.283, allocations: 9.938 kB / 1.414 GB, free: 298.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/2.283, allocations: 0 / 1.414 GB, free: 298.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.372e-05/2.283, allocations: 52.62 kB / 1.414 GB, free: 298.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/2.283, allocations: 5.719 kB / 1.414 GB, free: 298.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/2.283, allocations: 0.9375 kB / 1.414 GB, free: 298.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/2.283, allocations: 2.875 kB / 1.414 GB, free: 298.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.162e-05/2.283, allocations: 6.156 kB / 1.414 GB, free: 298.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/2.283, allocations: 6.656 kB / 1.414 GB, free: 298.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/2.283, allocations: 0 / 1.414 GB, free: 298.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/2.283, allocations: 6.297 kB / 1.414 GB, free: 298.8 MB / 0.948 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 4.915e-05/2.283, allocations: 104.4 kB / 1.414 GB, free: 298.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/2.283, allocations: 7.531 kB / 1.414 GB, free: 298.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.607e-05/2.283, allocations: 116.1 kB / 1.414 GB, free: 298.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.077e-05/2.283, allocations: 184.2 kB / 1.414 GB, free: 298.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.144e-05/2.283, allocations: 183.7 kB / 1.414 GB, free: 298.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-05/2.283, allocations: 179.6 kB / 1.415 GB, free: 298 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/2.283, allocations: 414.7 kB / 1.415 GB, free: 297.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/2.283, allocations: 101 kB / 1.415 GB, free: 297.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/2.283, allocations: 107.7 kB / 1.415 GB, free: 297.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.14e-05/2.283, allocations: 176.3 kB / 1.415 GB, free: 297.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/2.283, allocations: 183.6 kB / 1.415 GB, free: 297 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.953e-05/2.283, allocations: 179.7 kB / 1.416 GB, free: 296.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.883e-05/2.283, allocations: 183.7 kB / 1.416 GB, free: 296.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.542e-05/2.284, allocations: 304.5 kB / 1.416 GB, free: 296.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/2.284, allocations: 195.5 kB / 1.416 GB, free: 296.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/2.284, allocations: 176.3 kB / 1.416 GB, free: 295.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/2.284, allocations: 117.7 kB / 1.417 GB, free: 295.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/2.284, allocations: 182.2 kB / 1.417 GB, free: 295.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/2.284, allocations: 103.6 kB / 1.417 GB, free: 295.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.227e-05/2.284, allocations: 87.31 kB / 1.417 GB, free: 295.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/2.284, allocations: 0 / 1.417 GB, free: 295.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002416/2.284, allocations: 20.31 kB / 1.417 GB, free: 295.4 MB / 0.948 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.0004205/2.285, allocations: 0.8673 MB / 1.418 GB, free: 294.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.316e-05/2.285, allocations: 14.78 kB / 1.418 GB, free: 294.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/2.285, allocations: 0 / 1.418 GB, free: 294.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/2.285, allocations: 7.453 kB / 1.418 GB, free: 294.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/2.285, allocations: 0.5222 MB / 1.418 GB, free: 294.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/2.285, allocations: 158.3 kB / 1.418 GB, free: 293.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/2.285, allocations: 0.6829 MB / 1.419 GB, free: 293.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.922e-05/2.285, allocations: 7 kB / 1.419 GB, free: 293.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/2.285, allocations: 10.95 kB / 1.419 GB, free: 293.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.51e-07/2.285, allocations: 0.75 kB / 1.419 GB, free: 293.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01245/2.298, allocations: 2.087 MB / 1.421 GB, free: 293 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/2.298, allocations: 179 kB / 1.421 GB, free: 292.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/3.932, allocations: 0 / 1.421 GB, free: 292.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)