Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.563/1.563, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001465, allocations: 174.8 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.203/2.203, allocations: 205.4 MB / 0.5775 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 93.19 kB / 0.6821 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 11.88 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2645, allocations: 106.3 MB / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9708/1.235, allocations: 370.1 MB / 1.262 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/1.236, allocations: 67.84 kB / 1.262 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.02533/1.261, allocations: 11.72 MB / 1.273 GB, free: 4.344 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.475e-06/1.261, allocations: 4 kB / 1.273 GB, free: 4.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.065e-06/1.261, allocations: 0 / 1.273 GB, free: 4.34 MB / 0.7761 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.0004473/1.262, allocations: 347.2 kB / 1.273 GB, free: 3.953 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/1.262, allocations: 12.02 kB / 1.273 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.244e-05/1.262, allocations: 34 kB / 1.273 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/1.262, allocations: 4 kB / 1.273 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/1.262, allocations: 167 kB / 1.274 GB, free: 3.695 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.62e-05/1.262, allocations: 25.7 kB / 1.274 GB, free: 3.664 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/1.262, allocations: 8 kB / 1.274 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/1.262, allocations: 49.23 kB / 1.274 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/1.262, allocations: 0 / 1.274 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/1.262, allocations: 0 / 1.274 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/1.262, allocations: 0 / 1.274 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.952e-05/1.262, allocations: 11.56 kB / 1.274 GB, free: 3.598 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/1.263, allocations: 333 kB / 1.274 GB, free: 3.211 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.345e-05/1.263, allocations: 18.58 kB / 1.274 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.789e-05/1.263, allocations: 85.16 kB / 1.274 GB, free: 3.082 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/1.263, allocations: 38.5 kB / 1.274 GB, free: 3.035 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.442e-06/1.263, allocations: 0 / 1.274 GB, free: 3.035 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001582/1.263, allocations: 37.42 kB / 1.274 GB, free: 2.996 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/1.263, allocations: 55.36 kB / 1.274 GB, free: 2.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/1.263, allocations: 96.98 kB / 1.274 GB, free: 2.828 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/1.263, allocations: 33.33 kB / 1.274 GB, free: 2.793 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/1.263, allocations: 84.05 kB / 1.274 GB, free: 2.707 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.871e-06/1.263, allocations: 0 / 1.274 GB, free: 2.707 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/1.263, allocations: 0 / 1.274 GB, free: 2.707 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.264, allocations: 314.8 kB / 1.275 GB, free: 2.391 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/1.264, allocations: 7.547 kB / 1.275 GB, free: 2.387 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.011e-05/1.264, allocations: 17.66 kB / 1.275 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.073e-05/1.264, allocations: 8 kB / 1.275 GB, free: 2.355 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.264, allocations: 0 / 1.275 GB, free: 2.355 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.469e-05/1.264, allocations: 45.75 kB / 1.275 GB, free: 2.309 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/1.264, allocations: 8 kB / 1.275 GB, free: 2.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.264, allocations: 0 / 1.275 GB, free: 2.301 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/1.264, allocations: 3.938 kB / 1.275 GB, free: 2.297 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.807e-05/1.264, allocations: 11.88 kB / 1.275 GB, free: 2.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/1.264, allocations: 7.984 kB / 1.275 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.728e-05/1.264, allocations: 11.89 kB / 1.275 GB, free: 2.266 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/1.264, allocations: 64 / 1.275 GB, free: 2.266 MB / 0.7761 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 7.432e-05/1.264, allocations: 115.7 kB / 1.275 GB, free: 2.145 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/1.264, allocations: 3.906 kB / 1.275 GB, free: 2.141 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/1.264, allocations: 120.8 kB / 1.275 GB, free: 2.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.651e-05/1.264, allocations: 181.5 kB / 1.275 GB, free: 1.836 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-05/1.264, allocations: 176.3 kB / 1.275 GB, free: 1.656 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.309e-05/1.264, allocations: 189.3 kB / 1.276 GB, free: 1.465 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/1.265, allocations: 403.7 kB / 1.276 GB, free: 1.016 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.4e-05/1.265, allocations: 105 kB / 1.276 GB, free: 0.9062 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/1.265, allocations: 109.7 kB / 1.276 GB, free: 0.793 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.02e-05/1.265, allocations: 180.2 kB / 1.276 GB, free: 0.6094 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.06e-05/1.265, allocations: 185.1 kB / 1.277 GB, free: 432 kB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.011e-05/1.265, allocations: 181.2 kB / 1.277 GB, free: 244 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.631e-05/1.265, allocations: 177.3 kB / 1.277 GB, free: 60 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/1.265, allocations: 311.2 kB / 1.277 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 9.629e-05/1.265, allocations: 182 kB / 1.277 GB, free: 15.53 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/1.266, allocations: 185.8 kB / 1.278 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/1.266, allocations: 109 kB / 1.278 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.804e-05/1.266, allocations: 185.8 kB / 1.278 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.987e-05/1.266, allocations: 102.3 kB / 1.278 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 5.989e-05/1.266, allocations: 90.02 kB / 1.278 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.3e-07/1.266, allocations: 0 / 1.278 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003129/1.266, allocations: 16.88 kB / 1.278 GB, free: 14.84 MB / 0.7917 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.0007094/1.267, allocations: 0.8447 MB / 1.279 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 9.545e-05/1.267, allocations: 9.562 kB / 1.279 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.267, allocations: 0 / 1.279 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 4.549e-06/1.267, allocations: 3.938 kB / 1.279 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004422/1.268, allocations: 0.5277 MB / 1.279 GB, free: 13.43 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/1.268, allocations: 228 kB / 1.28 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/1.269, allocations: 0.6731 MB / 1.28 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 5.358e-05/1.269, allocations: 7.984 kB / 1.28 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/1.269, allocations: 15.44 kB / 1.28 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of SimCode: time 4.308e-06/1.269, allocations: 0 / 1.28 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01428/1.283, allocations: 1.561 MB / 1.282 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/1.283, allocations: 201.6 kB / 1.282 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.461/2.744, allocations: 0 / 1.282 GB, free: 10.8 MB / 0.7917 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)