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 2.877/2.877, allocations: 287.5 MB / 302.4 MB, free: 8.332 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.00192/0.00192, allocations: 182 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.000891/0.0008907, allocations: 94.56 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005037/0.0005038, allocations: 11.2 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2315, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.9057/1.137, allocations: 134.5 MB / 1.11 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.000152/1.137, allocations: 45.75 kB / 1.11 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/1.138, allocations: 1.344 kB / 1.11 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/1.138, allocations: 0.75 kB / 1.11 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 8.65e-05/1.138, allocations: 15.88 kB / 1.11 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007554/1.139, allocations: 139.1 kB / 1.11 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/1.139, allocations: 47.67 kB / 1.11 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/1.139, allocations: 1.844 kB / 1.11 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.601e-05/1.139, allocations: 16.94 kB / 1.11 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.135e-05/1.139, allocations: 12.42 kB / 1.11 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/1.139, allocations: 1.188 kB / 1.11 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004637/1.139, allocations: 100.2 kB / 1.11 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.943e-05/1.139, allocations: 9.047 kB / 1.11 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.71e-05/1.14, allocations: 28.55 kB / 1.11 GB, free: 17.93 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/1.14, allocations: 54.11 kB / 1.11 GB, free: 17.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.14, allocations: 4.703 kB / 1.11 GB, free: 17.93 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/1.14, allocations: 2.125 kB / 1.11 GB, free: 17.93 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.579e-06/1.14, allocations: 0 / 1.11 GB, free: 17.93 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.0004887/1.14, allocations: 334 kB / 1.111 GB, free: 17.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/1.14, allocations: 13.98 kB / 1.111 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.082e-05/1.14, allocations: 39.56 kB / 1.111 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004196/1.141, allocations: 27.45 kB / 1.111 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/1.141, allocations: 168.3 kB / 1.111 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-05/1.141, allocations: 28.83 kB / 1.111 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/1.141, allocations: 1.625 kB / 1.111 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/1.141, allocations: 50.33 kB / 1.111 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.141, allocations: 0 / 1.111 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/1.141, allocations: 9.859 kB / 1.111 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/1.141, allocations: 2.812 kB / 1.111 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.964e-05/1.141, allocations: 23.92 kB / 1.111 GB, free: 17.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/1.142, allocations: 254.9 kB / 1.111 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.013e-05/1.142, allocations: 28.02 kB / 1.111 GB, free: 16.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.573e-05/1.142, allocations: 11.42 kB / 1.111 GB, free: 16.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/1.142, allocations: 94.25 kB / 1.111 GB, free: 16.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/1.142, allocations: 36.59 kB / 1.111 GB, free: 16.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/1.142, allocations: 0 / 1.111 GB, free: 16.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003222/1.143, allocations: 47.98 kB / 1.111 GB, free: 16.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/1.143, allocations: 55.34 kB / 1.111 GB, free: 16.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/1.143, allocations: 106.4 kB / 1.111 GB, free: 16.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/1.143, allocations: 25.7 kB / 1.111 GB, free: 16.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/1.143, allocations: 89.83 kB / 1.112 GB, free: 16.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.056e-05/1.143, allocations: 10 kB / 1.112 GB, free: 16.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/1.143, allocations: 0 / 1.112 GB, free: 16.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.143, allocations: 316.5 kB / 1.112 GB, free: 16.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/1.143, allocations: 6.188 kB / 1.112 GB, free: 16.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/1.143, allocations: 23.25 kB / 1.112 GB, free: 16.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.562e-05/1.143, allocations: 6.859 kB / 1.112 GB, free: 16.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.143, allocations: 4 kB / 1.112 GB, free: 16.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001277/1.143, allocations: 53.75 kB / 1.112 GB, free: 16.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/1.143, allocations: 9.484 kB / 1.112 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/1.143, allocations: 2.172 kB / 1.112 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.143, allocations: 0 / 1.112 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/1.144, allocations: 6.844 kB / 1.112 GB, free: 16.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/1.144, allocations: 4.969 kB / 1.112 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/1.144, allocations: 2.219 kB / 1.112 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/1.144, allocations: 1.656 kB / 1.112 GB, free: 16.09 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 0.0001033/1.144, allocations: 119 kB / 1.112 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.462e-05/1.144, allocations: 4.969 kB / 1.112 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/1.144, allocations: 12.66 kB / 1.112 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/1.144, allocations: 0.6094 kB / 1.112 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.144, allocations: 1.25 kB / 1.112 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.144, allocations: 2.562 kB / 1.112 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/1.144, allocations: 365.3 kB / 1.112 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.144, allocations: 1.031 kB / 1.112 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.086e-05/1.144, allocations: 3.938 kB / 1.112 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.144, allocations: 0.75 kB / 1.112 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/1.144, allocations: 0.8438 kB / 1.112 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.144, allocations: 1.062 kB / 1.112 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.144, allocations: 2 kB / 1.112 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/1.145, allocations: 78.58 kB / 1.113 GB, free: 15.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.409e-05/1.145, allocations: 87.39 kB / 1.113 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/1.145, allocations: 6.141 kB / 1.113 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/1.145, allocations: 4.453 kB / 1.113 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/1.145, allocations: 1.562 kB / 1.113 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-06/1.145, allocations: 1.922 kB / 1.113 GB, free: 15.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.635e-05/1.145, allocations: 79.94 kB / 1.113 GB, free: 15.31 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.145, allocations: 1.062 kB / 1.113 GB, free: 15.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002536/1.145, allocations: 11.91 kB / 1.113 GB, free: 15.31 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.0004679/1.146, allocations: 0.6118 MB / 1.113 GB, free: 14.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.784e-05/1.146, allocations: 18.72 kB / 1.113 GB, free: 14.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.146, allocations: 0 / 1.113 GB, free: 14.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-05/1.146, allocations: 8.766 kB / 1.113 GB, free: 14.69 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/1.146, allocations: 9.906 kB / 1.113 GB, free: 14.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000442/1.147, allocations: 152.5 kB / 1.114 GB, free: 14.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/1.147, allocations: 0.6802 MB / 1.114 GB, free: 13.84 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.423e-05/1.147, allocations: 12.34 kB / 1.114 GB, free: 13.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/1.147, allocations: 8.75 kB / 1.114 GB, free: 13.83 MB / 0.698 GB Notification: Performance of SimCode: time 8.02e-07/1.147, allocations: 0 / 1.114 GB, free: 13.83 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/1.171, allocations: 1.199 MB / 1.115 GB, free: 13.67 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002848/1.172, allocations: 193.1 kB / 1.116 GB, free: 13.43 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/3.69, allocations: 4.641 kB / 1.116 GB, free: 13.43 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)