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.578/1.578, allocations: 249.3 MB / 261.8 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 182.5 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.001151/0.001151, allocations: 96.28 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.701e-05/4.722e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2459, allocations: 106.3 MB / 0.8919 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.69/1.936, allocations: 370 MB / 1.253 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/1.936, allocations: 70.89 kB / 1.253 GB, free: 311.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03121/1.967, allocations: 11.67 MB / 1.265 GB, free: 309 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.605e-06/1.967, allocations: 4 kB / 1.265 GB, free: 309 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.143e-05/1.968, allocations: 0 / 1.265 GB, free: 309 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.0004526/1.968, allocations: 339.4 kB / 1.265 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.692e-05/1.968, allocations: 9.766 kB / 1.265 GB, free: 308.7 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.305e-05/1.968, allocations: 30.56 kB / 1.265 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/1.968, allocations: 2.531 kB / 1.265 GB, free: 308.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/1.968, allocations: 165.7 kB / 1.265 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.481e-05/1.968, allocations: 32.88 kB / 1.265 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/1.968, allocations: 4 kB / 1.265 GB, free: 308.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/1.969, allocations: 45.53 kB / 1.265 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/1.969, allocations: 0.7969 kB / 1.265 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/1.969, allocations: 3.906 kB / 1.265 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/1.969, allocations: 1.781 kB / 1.265 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.239e-05/1.969, allocations: 9.703 kB / 1.265 GB, free: 308.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/1.969, allocations: 330.7 kB / 1.266 GB, free: 308 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.342e-05/1.969, allocations: 29.05 kB / 1.266 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.483e-05/1.969, allocations: 6.672 kB / 1.266 GB, free: 307.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-05/1.97, allocations: 84.12 kB / 1.266 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/1.97, allocations: 31.36 kB / 1.266 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/1.97, allocations: 0 / 1.266 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001852/1.97, allocations: 41.28 kB / 1.266 GB, free: 307.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/1.97, allocations: 51.41 kB / 1.266 GB, free: 307.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/1.97, allocations: 103.8 kB / 1.266 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/1.97, allocations: 26.67 kB / 1.266 GB, free: 307.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/1.97, allocations: 86.77 kB / 1.266 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.885e-06/1.97, allocations: 0 / 1.266 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/1.97, allocations: 5.594 kB / 1.266 GB, free: 307.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.97, allocations: 312.3 kB / 1.266 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.062e-05/1.97, allocations: 7.5 kB / 1.266 GB, free: 307.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.259e-05/1.97, allocations: 17.94 kB / 1.266 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.079e-05/1.97, allocations: 9.719 kB / 1.266 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.97, allocations: 0 / 1.266 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.636e-05/1.97, allocations: 41.84 kB / 1.266 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/1.971, allocations: 11.84 kB / 1.266 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.971, allocations: 0.9062 kB / 1.266 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/1.971, allocations: 1.344 kB / 1.266 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.578e-05/1.971, allocations: 5.25 kB / 1.266 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/1.971, allocations: 10.03 kB / 1.266 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.689e-05/1.971, allocations: 5.906 kB / 1.266 GB, free: 307.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/1.971, allocations: 1.094 kB / 1.266 GB, free: 307.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 8.537e-05/1.971, allocations: 106.8 kB / 1.267 GB, free: 307 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/1.971, allocations: 5.438 kB / 1.267 GB, free: 307 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/1.971, allocations: 115.7 kB / 1.267 GB, free: 306.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.85e-05/1.971, allocations: 184.7 kB / 1.267 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.966e-05/1.971, allocations: 190.6 kB / 1.267 GB, free: 306.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-05/1.971, allocations: 185.7 kB / 1.267 GB, free: 306.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/1.972, allocations: 403.8 kB / 1.268 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.216e-05/1.972, allocations: 114.3 kB / 1.268 GB, free: 305.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.572e-05/1.972, allocations: 102.9 kB / 1.268 GB, free: 305.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.927e-05/1.972, allocations: 182.8 kB / 1.268 GB, free: 305.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.353e-05/1.972, allocations: 182.1 kB / 1.268 GB, free: 305.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.173e-05/1.972, allocations: 177.1 kB / 1.268 GB, free: 305.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.919e-05/1.972, allocations: 182.1 kB / 1.269 GB, free: 304.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/1.972, allocations: 311 kB / 1.269 GB, free: 304.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.05e-05/1.972, allocations: 184.6 kB / 1.269 GB, free: 304.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.564e-05/1.972, allocations: 178.3 kB / 1.269 GB, free: 304.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/1.972, allocations: 114.8 kB / 1.269 GB, free: 304.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.653e-05/1.973, allocations: 178.8 kB / 1.269 GB, free: 303.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/1.973, allocations: 102.8 kB / 1.27 GB, free: 303.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.243e-05/1.973, allocations: 85.52 kB / 1.27 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.973, allocations: 0 / 1.27 GB, free: 303.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003389/1.973, allocations: 17.17 kB / 1.27 GB, free: 303.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.0006789/1.974, allocations: 0.8435 MB / 1.27 GB, free: 302.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001112/1.974, allocations: 16.44 kB / 1.27 GB, free: 302.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.974, allocations: 0 / 1.27 GB, free: 302.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.895e-06/1.974, allocations: 0.6094 kB / 1.27 GB, free: 302.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/1.974, allocations: 0.5231 MB / 1.271 GB, free: 302.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/1.975, allocations: 163 kB / 1.271 GB, free: 302.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/1.975, allocations: 0.6804 MB / 1.272 GB, free: 301.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.885e-05/1.975, allocations: 9.297 kB / 1.272 GB, free: 301.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/1.975, allocations: 8.094 kB / 1.272 GB, free: 301.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.4e-07/1.975, allocations: 0 / 1.272 GB, free: 301.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/1.99, allocations: 1.628 MB / 1.273 GB, free: 301.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/1.99, allocations: 176.9 kB / 1.274 GB, free: 301 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/3.72, allocations: 0 / 1.274 GB, free: 301 MB / 0.8542 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)