Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",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 1.412/1.412, allocations: 287.4 MB / 302.5 MB, free: 8.316 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.0009474/0.0009473, allocations: 178.4 kB / 371.1 MB, free: 10.82 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.121/1.121, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006868/0.0006869, allocations: 92.36 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003287, allocations: 10.95 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1549, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4352/0.5902, allocations: 134.5 MB / 1.11 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 9.743e-05/0.5903, allocations: 54.34 kB / 1.11 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.5903, allocations: 0 / 1.11 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 9.391e-05/0.5904, allocations: 0.6094 kB / 1.11 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.5905, allocations: 9.625 kB / 1.11 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004852/0.591, allocations: 140.5 kB / 1.11 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 7.324e-05/0.5911, allocations: 48.31 kB / 1.11 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.268e-05/0.5911, allocations: 1.703 kB / 1.11 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.057e-05/0.5912, allocations: 17.11 kB / 1.11 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.832e-05/0.5912, allocations: 14.23 kB / 1.11 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.5912, allocations: 2.953 kB / 1.11 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.5915, allocations: 97.92 kB / 1.11 GB, free: 2 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.116e-05/0.5916, allocations: 10.23 kB / 1.11 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 6.853e-05/0.5916, allocations: 28.42 kB / 1.11 GB, free: 17.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.5918, allocations: 55.58 kB / 1.11 GB, free: 17.96 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.5918, allocations: 0 / 1.11 GB, free: 17.96 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5918, allocations: 0 / 1.11 GB, free: 17.96 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.5918, allocations: 0 / 1.11 GB, free: 17.96 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003113/0.5921, allocations: 341.2 kB / 1.111 GB, free: 17.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.5922, allocations: 11 kB / 1.111 GB, free: 17.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.5922, allocations: 32.36 kB / 1.111 GB, free: 17.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/0.5925, allocations: 28.58 kB / 1.111 GB, free: 17.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.5926, allocations: 165.4 kB / 1.111 GB, free: 17.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/0.5926, allocations: 32.56 kB / 1.111 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.5926, allocations: 1.312 kB / 1.111 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.5928, allocations: 56.03 kB / 1.111 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.5928, allocations: 0.5625 kB / 1.111 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.5928, allocations: 0 / 1.111 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.5928, allocations: 7.328 kB / 1.111 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.754e-05/0.5929, allocations: 19.11 kB / 1.111 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002797/0.5932, allocations: 261 kB / 1.111 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.616e-05/0.5932, allocations: 24.66 kB / 1.111 GB, free: 16.99 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.621e-05/0.5932, allocations: 11.78 kB / 1.111 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.5934, allocations: 92.38 kB / 1.112 GB, free: 16.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.5934, allocations: 34.38 kB / 1.112 GB, free: 16.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5934, allocations: 0 / 1.112 GB, free: 16.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001969/0.5936, allocations: 54.53 kB / 1.112 GB, free: 16.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.5937, allocations: 52.11 kB / 1.112 GB, free: 16.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.819e-05/0.5937, allocations: 109.6 kB / 1.112 GB, free: 16.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.5937, allocations: 27.11 kB / 1.112 GB, free: 16.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.5938, allocations: 85.98 kB / 1.112 GB, free: 16.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.053e-06/0.5938, allocations: 13.33 kB / 1.112 GB, free: 16.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.5938, allocations: 0 / 1.112 GB, free: 16.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.055e-05/0.5939, allocations: 313 kB / 1.112 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.5939, allocations: 10.88 kB / 1.112 GB, free: 16.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.112e-05/0.5939, allocations: 25.09 kB / 1.112 GB, free: 16.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.594, allocations: 27.72 kB / 1.112 GB, free: 16.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.594, allocations: 0 / 1.112 GB, free: 16.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.433e-05/0.5941, allocations: 57.81 kB / 1.112 GB, free: 16.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.5941, allocations: 6.562 kB / 1.112 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.5941, allocations: 3.406 kB / 1.112 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.5941, allocations: 3.938 kB / 1.112 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.96e-05/0.5942, allocations: 7.359 kB / 1.112 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.5942, allocations: 4.938 kB / 1.112 GB, free: 16.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/0.5942, allocations: 6.562 kB / 1.112 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.5942, allocations: 1.219 kB / 1.112 GB, free: 16.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 6.266e-05/0.5943, allocations: 121 kB / 1.112 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.5943, allocations: 2.156 kB / 1.112 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.699e-05/0.5943, allocations: 8.031 kB / 1.112 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.5943, allocations: 0.5625 kB / 1.112 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5943, allocations: 4.938 kB / 1.112 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.5943, allocations: 0.5156 kB / 1.112 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.5946, allocations: 358.2 kB / 1.113 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5946, allocations: 4.453 kB / 1.113 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.433e-05/0.5946, allocations: 8.172 kB / 1.113 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5946, allocations: 4.938 kB / 1.113 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.5946, allocations: 1.188 kB / 1.113 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.5946, allocations: 0 / 1.113 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5946, allocations: 3.578 kB / 1.113 GB, free: 15.58 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.714e-05/0.5947, allocations: 69.44 kB / 1.113 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.5947, allocations: 94.02 kB / 1.113 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.5948, allocations: 1.781 kB / 1.113 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.237e-05/0.5948, allocations: 5.844 kB / 1.113 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.5949, allocations: 1.562 kB / 1.113 GB, free: 15.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.5949, allocations: 1.031 kB / 1.113 GB, free: 15.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.737e-05/0.5949, allocations: 80.05 kB / 1.113 GB, free: 15.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5949, allocations: 1.344 kB / 1.113 GB, free: 15.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001609/0.5951, allocations: 9 kB / 1.113 GB, free: 15.32 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0002891/0.5954, allocations: 0.6139 MB / 1.114 GB, free: 14.71 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.391e-05/0.5954, allocations: 14.62 kB / 1.114 GB, free: 14.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5954, allocations: 4.219 kB / 1.114 GB, free: 14.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.125e-05/0.5955, allocations: 12.84 kB / 1.114 GB, free: 14.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.5956, allocations: 6.984 kB / 1.114 GB, free: 14.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.5959, allocations: 156 kB / 1.114 GB, free: 14.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.5961, allocations: 0.6757 MB / 1.115 GB, free: 13.85 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.353e-05/0.5962, allocations: 14.66 kB / 1.115 GB, free: 13.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.5962, allocations: 8.688 kB / 1.115 GB, free: 13.84 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.5962, allocations: 0 / 1.115 GB, free: 13.84 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1778/0.7741, allocations: 1.186 MB / 1.116 GB, free: 13.67 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001053/0.7742, allocations: 188.5 kB / 1.116 GB, free: 13.44 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.498/2.272, allocations: 0 / 1.116 GB, free: 13.44 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)