Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.451/1.451, allocations: 288.4 MB / 303.6 MB, free: 8.133 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.0008722/0.0008721, allocations: 182.9 kB / 372.2 MB, free: 10.13 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.232/1.232, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0006642/0.0006642, allocations: 96.55 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003632, allocations: 10.81 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1725, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5051/0.6777, allocations: 134.4 MB / 1.111 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0001071/0.6778, allocations: 45.98 kB / 1.112 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.6779, allocations: 0 / 1.112 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 8.848e-05/0.678, allocations: 5.219 kB / 1.112 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.484e-05/0.678, allocations: 16.72 kB / 1.112 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006109/0.6787, allocations: 179.9 kB / 1.112 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.031e-05/0.6787, allocations: 46.75 kB / 1.112 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.351e-05/0.6788, allocations: 1.844 kB / 1.112 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.226e-05/0.6788, allocations: 13.8 kB / 1.112 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.017e-05/0.6789, allocations: 16.66 kB / 1.112 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.6789, allocations: 4 kB / 1.112 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.6793, allocations: 221.7 kB / 1.112 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.147e-05/0.6794, allocations: 9.75 kB / 1.112 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.755e-05/0.6795, allocations: 36.91 kB / 1.112 GB, free: 18.7 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.6797, allocations: 75.88 kB / 1.112 GB, free: 18.69 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6797, allocations: 5.094 kB / 1.112 GB, free: 18.69 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6797, allocations: 0 / 1.112 GB, free: 18.69 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.6797, allocations: 0 / 1.112 GB, free: 18.69 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.000331/0.6801, allocations: 340.4 kB / 1.112 GB, free: 18.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.6801, allocations: 10.19 kB / 1.112 GB, free: 18.33 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.6801, allocations: 38.83 kB / 1.112 GB, free: 18.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002816/0.6804, allocations: 30.83 kB / 1.113 GB, free: 18.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.26e-05/0.6805, allocations: 163.2 kB / 1.113 GB, free: 18.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.313e-05/0.6806, allocations: 31.84 kB / 1.113 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.6806, allocations: 1.5 kB / 1.113 GB, free: 18.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.6807, allocations: 47.55 kB / 1.113 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.6807, allocations: 7.938 kB / 1.113 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.6807, allocations: 0 / 1.113 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.6808, allocations: 5.125 kB / 1.113 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.829e-05/0.6808, allocations: 24.31 kB / 1.113 GB, free: 18.01 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.6811, allocations: 254.1 kB / 1.113 GB, free: 17.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.841e-05/0.6812, allocations: 24.41 kB / 1.113 GB, free: 17.72 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.6812, allocations: 15.62 kB / 1.113 GB, free: 17.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.6813, allocations: 94.31 kB / 1.113 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.6813, allocations: 35.62 kB / 1.113 GB, free: 17.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6813, allocations: 0 / 1.113 GB, free: 17.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002032/0.6816, allocations: 47.73 kB / 1.113 GB, free: 17.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.6816, allocations: 56.59 kB / 1.113 GB, free: 17.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.166e-05/0.6817, allocations: 109 kB / 1.113 GB, free: 17.37 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.6817, allocations: 27.17 kB / 1.113 GB, free: 17.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.6817, allocations: 88.67 kB / 1.114 GB, free: 17.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.422e-06/0.6817, allocations: 6.047 kB / 1.114 GB, free: 17.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.6817, allocations: 0 / 1.114 GB, free: 17.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.6818, allocations: 316.2 kB / 1.114 GB, free: 16.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.6818, allocations: 5.547 kB / 1.114 GB, free: 16.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.495e-05/0.6819, allocations: 32.42 kB / 1.114 GB, free: 16.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.6819, allocations: 26.97 kB / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.6819, allocations: 0 / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.672e-05/0.682, allocations: 55 kB / 1.114 GB, free: 16.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.682, allocations: 9.797 kB / 1.114 GB, free: 16.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.682, allocations: 1.375 kB / 1.114 GB, free: 16.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.682, allocations: 1.219 kB / 1.114 GB, free: 16.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.086e-05/0.6821, allocations: 9.906 kB / 1.114 GB, free: 16.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.6821, allocations: 5.719 kB / 1.114 GB, free: 16.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.643e-05/0.6821, allocations: 4.906 kB / 1.114 GB, free: 16.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.6822, allocations: 2.344 kB / 1.114 GB, free: 16.83 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 5.688e-05/0.6822, allocations: 112.8 kB / 1.114 GB, free: 16.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.6822, allocations: 9.156 kB / 1.114 GB, free: 16.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.867e-05/0.6823, allocations: 9.141 kB / 1.114 GB, free: 16.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6823, allocations: 0 / 1.114 GB, free: 16.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6823, allocations: 6.125 kB / 1.114 GB, free: 16.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.6823, allocations: 1.75 kB / 1.114 GB, free: 16.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.6825, allocations: 361.3 kB / 1.114 GB, free: 16.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6825, allocations: 0 / 1.114 GB, free: 16.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.6826, allocations: 5.5 kB / 1.114 GB, free: 16.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.6826, allocations: 3.938 kB / 1.114 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.6826, allocations: 5.656 kB / 1.114 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.6826, allocations: 0.5156 kB / 1.114 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6826, allocations: 1.156 kB / 1.114 GB, free: 16.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.183e-05/0.6827, allocations: 72.86 kB / 1.115 GB, free: 16.23 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.6827, allocations: 87.02 kB / 1.115 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.6827, allocations: 4.656 kB / 1.115 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.6828, allocations: 9.562 kB / 1.115 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.092e-05/0.6828, allocations: 5.984 kB / 1.115 GB, free: 16.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.6828, allocations: 1.688 kB / 1.115 GB, free: 16.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.88e-05/0.6829, allocations: 79.27 kB / 1.115 GB, free: 16.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.82e-07/0.6829, allocations: 0 / 1.115 GB, free: 16.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001734/0.683, allocations: 9.422 kB / 1.115 GB, free: 16.05 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.0003072/0.6834, allocations: 0.6168 MB / 1.115 GB, free: 15.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.501e-05/0.6834, allocations: 12.09 kB / 1.115 GB, free: 15.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6834, allocations: 0 / 1.115 GB, free: 15.43 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.6835, allocations: 12.52 kB / 1.115 GB, free: 15.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.6836, allocations: 9.328 kB / 1.115 GB, free: 15.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.684, allocations: 154.7 kB / 1.115 GB, free: 15.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.6841, allocations: 0.6765 MB / 1.116 GB, free: 14.58 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.582e-05/0.6842, allocations: 12.91 kB / 1.116 GB, free: 14.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.6842, allocations: 12.38 kB / 1.116 GB, free: 14.56 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.6842, allocations: 1.375 kB / 1.116 GB, free: 14.56 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3057/0.9899, allocations: 1.203 MB / 1.117 GB, free: 14.42 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.9902, allocations: 207.8 kB / 1.118 GB, free: 14.17 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.359/2.349, allocations: 0 / 1.118 GB, free: 14.17 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)