Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.618/1.618, allocations: 285.4 MB / 298 MB, free: 5.957 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.001147/0.001147, allocations: 176.9 kB / 366.4 MB, free: 2.078 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.681/1.681, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.000811/0.000811, allocations: 87.42 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.205e-05/4.207e-05, allocations: 4 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8357/0.8357, allocations: 115.3 MB / 0.971 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.201/2.037, allocations: 423.7 MB / 1.385 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/2.038, allocations: 66.83 kB / 1.385 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03339/2.071, allocations: 17.72 MB / 1.402 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.613e-06/2.071, allocations: 0 / 1.402 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.747e-06/2.071, allocations: 4 kB / 1.402 GB, free: 122.2 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.0003042/2.071, allocations: 355.6 kB / 1.402 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/2.072, allocations: 12.02 kB / 1.403 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/2.072, allocations: 40 kB / 1.403 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/2.072, allocations: 0 / 1.403 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.712e-05/2.072, allocations: 166.9 kB / 1.403 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/2.072, allocations: 29.7 kB / 1.403 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/2.072, allocations: 0 / 1.403 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/2.072, allocations: 45.38 kB / 1.403 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/2.072, allocations: 0 / 1.403 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/2.072, allocations: 3.938 kB / 1.403 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/2.072, allocations: 0 / 1.403 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.109e-05/2.072, allocations: 11.98 kB / 1.403 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/2.072, allocations: 334.7 kB / 1.403 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.299e-05/2.072, allocations: 18.56 kB / 1.403 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.362e-05/2.072, allocations: 12.92 kB / 1.403 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.967e-05/2.072, allocations: 81.11 kB / 1.403 GB, free: 121 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/2.073, allocations: 34.5 kB / 1.403 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/2.073, allocations: 0 / 1.403 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001437/2.073, allocations: 37.69 kB / 1.403 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/2.073, allocations: 59.09 kB / 1.403 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.386e-05/2.073, allocations: 96.89 kB / 1.403 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/2.073, allocations: 29.73 kB / 1.403 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/2.073, allocations: 91.55 kB / 1.404 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-06/2.073, allocations: 0 / 1.404 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/2.073, allocations: 0 / 1.404 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.692e-05/2.073, allocations: 314.8 kB / 1.404 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/2.073, allocations: 7.938 kB / 1.404 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.947e-05/2.073, allocations: 17.47 kB / 1.404 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.013e-05/2.073, allocations: 11.94 kB / 1.404 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/2.073, allocations: 0 / 1.404 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.427e-05/2.073, allocations: 52.34 kB / 1.404 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/2.073, allocations: 9.875 kB / 1.404 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/2.073, allocations: 0 / 1.404 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/2.073, allocations: 0 / 1.404 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.974e-05/2.073, allocations: 7.984 kB / 1.404 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/2.073, allocations: 3.938 kB / 1.404 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/2.073, allocations: 5.438 kB / 1.404 GB, free: 120.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/2.073, allocations: 8.016 kB / 1.404 GB, free: 120.1 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 5e-05/2.073, allocations: 101 kB / 1.404 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.245e-05/2.073, allocations: 4 kB / 1.404 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/2.073, allocations: 117.7 kB / 1.404 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.06e-05/2.073, allocations: 184.2 kB / 1.404 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.168e-05/2.073, allocations: 176.3 kB / 1.405 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-05/2.074, allocations: 180.3 kB / 1.405 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/2.074, allocations: 412.7 kB / 1.405 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/2.074, allocations: 101.3 kB / 1.405 GB, free: 118.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-05/2.074, allocations: 108.9 kB / 1.405 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-05/2.074, allocations: 180 kB / 1.405 GB, free: 118.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/2.074, allocations: 189.6 kB / 1.406 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.999e-05/2.074, allocations: 176.3 kB / 1.406 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.269e-05/2.074, allocations: 182.3 kB / 1.406 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.087e-05/2.074, allocations: 311.5 kB / 1.406 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.648e-05/2.074, allocations: 193.9 kB / 1.406 GB, free: 117.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/2.074, allocations: 176.3 kB / 1.407 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/2.074, allocations: 116.6 kB / 1.407 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/2.074, allocations: 184.2 kB / 1.407 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/2.074, allocations: 101 kB / 1.407 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.147e-05/2.074, allocations: 85.41 kB / 1.407 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.61e-07/2.074, allocations: 4 kB / 1.407 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002408/2.075, allocations: 23.92 kB / 1.407 GB, free: 116.7 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.0003808/2.075, allocations: 0.8599 MB / 1.408 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.086e-05/2.075, allocations: 19.61 kB / 1.408 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/2.075, allocations: 0 / 1.408 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/2.075, allocations: 1.406 kB / 1.408 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/2.075, allocations: 0.526 MB / 1.408 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/2.076, allocations: 158 kB / 1.409 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/2.076, allocations: 0.6809 MB / 1.409 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.001e-05/2.076, allocations: 5.625 kB / 1.409 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.817e-05/2.076, allocations: 11.44 kB / 1.409 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of SimCode: time 2.4e-07/2.076, allocations: 0 / 1.409 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/2.088, allocations: 2.104 MB / 1.411 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/2.088, allocations: 184.5 kB / 1.412 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/3.634, allocations: 0 / 1.412 GB, free: 112.3 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)