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.836/2.836, allocations: 287.3 MB / 302.3 MB, free: 8.391 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.001631/0.00163, allocations: 177.6 kB / 370.8 MB, free: 10.87 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.162/2.162, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001177/0.001177, allocations: 109.5 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006416/0.0006417, allocations: 10.89 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2346, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.9524/1.187, allocations: 125.2 MB / 1.101 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0002606/1.187, allocations: 134.7 kB / 1.101 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.969e-05/1.187, allocations: 5.375 kB / 1.101 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/1.188, allocations: 5.812 kB / 1.101 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 4.317e-05/1.188, allocations: 7.5 kB / 1.101 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007141/1.188, allocations: 141.1 kB / 1.101 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 6.721e-05/1.188, allocations: 15.83 kB / 1.101 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.762e-05/1.188, allocations: 5.469 kB / 1.101 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.199e-05/1.189, allocations: 13.39 kB / 1.101 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.423e-05/1.189, allocations: 16.97 kB / 1.101 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/1.189, allocations: 1.375 kB / 1.101 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004701/1.189, allocations: 104.8 kB / 1.101 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/1.189, allocations: 9.266 kB / 1.101 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/1.189, allocations: 28.73 kB / 1.101 GB, free: 18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/1.19, allocations: 45.78 kB / 1.101 GB, free: 18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/1.19, allocations: 1.438 kB / 1.101 GB, free: 18 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.362e-06/1.19, allocations: 0 / 1.101 GB, free: 18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.739e-06/1.19, allocations: 0 / 1.101 GB, free: 18 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.0004393/1.19, allocations: 343.1 kB / 1.101 GB, free: 17.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/1.19, allocations: 12.33 kB / 1.101 GB, free: 17.63 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.735e-05/1.19, allocations: 38.14 kB / 1.101 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000409/1.191, allocations: 26.56 kB / 1.101 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/1.191, allocations: 168.6 kB / 1.102 GB, free: 17.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.107e-05/1.191, allocations: 28.67 kB / 1.102 GB, free: 17.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/1.191, allocations: 4.906 kB / 1.102 GB, free: 17.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/1.191, allocations: 54.72 kB / 1.102 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/1.191, allocations: 0 / 1.102 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/1.191, allocations: 3.953 kB / 1.102 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/1.191, allocations: 3.656 kB / 1.102 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.658e-05/1.191, allocations: 20.77 kB / 1.102 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/1.192, allocations: 247.9 kB / 1.102 GB, free: 17.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.486e-05/1.192, allocations: 31.52 kB / 1.102 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.245e-05/1.192, allocations: 10.66 kB / 1.102 GB, free: 17.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/1.192, allocations: 31.69 kB / 1.102 GB, free: 16.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/1.192, allocations: 0 / 1.102 GB, free: 16.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003199/1.192, allocations: 51.97 kB / 1.102 GB, free: 16.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/1.192, allocations: 54.27 kB / 1.102 GB, free: 16.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.986e-05/1.192, allocations: 106 kB / 1.102 GB, free: 16.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/1.192, allocations: 30.98 kB / 1.102 GB, free: 16.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/1.192, allocations: 88.42 kB / 1.102 GB, free: 16.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.999e-06/1.192, allocations: 9.156 kB / 1.102 GB, free: 16.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-06/1.192, allocations: 0 / 1.102 GB, free: 16.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.193, allocations: 317 kB / 1.103 GB, free: 16.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.807e-05/1.193, allocations: 6.297 kB / 1.103 GB, free: 16.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.865e-05/1.193, allocations: 18.72 kB / 1.103 GB, free: 16.33 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.067e-05/1.193, allocations: 16 kB / 1.103 GB, free: 16.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.193, allocations: 0 / 1.103 GB, free: 16.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001299/1.193, allocations: 52.81 kB / 1.103 GB, free: 16.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.193, allocations: 11.08 kB / 1.103 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.193, allocations: 0 / 1.103 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.193, allocations: 1.438 kB / 1.103 GB, free: 16.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.3e-05/1.193, allocations: 14.52 kB / 1.103 GB, free: 16.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/1.193, allocations: 0 / 1.103 GB, free: 16.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.303e-05/1.193, allocations: 3.188 kB / 1.103 GB, free: 16.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/1.193, allocations: 1.406 kB / 1.103 GB, free: 16.28 MB / 0.698 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 (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 9.05e-05/1.193, allocations: 115.1 kB / 1.103 GB, free: 16.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/1.193, allocations: 5.281 kB / 1.103 GB, free: 16.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/1.193, allocations: 11.73 kB / 1.103 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/1.193, allocations: 2.016 kB / 1.103 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.193, allocations: 336 / 1.103 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/1.193, allocations: 1.406 kB / 1.103 GB, free: 16.15 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004024/1.194, allocations: 374.3 kB / 1.103 GB, free: 15.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/1.194, allocations: 0 / 1.103 GB, free: 15.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-05/1.194, allocations: 3.062 kB / 1.103 GB, free: 15.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.194, allocations: 5.641 kB / 1.103 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/1.194, allocations: 0 / 1.103 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/1.194, allocations: 3.859 kB / 1.103 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/1.194, allocations: 2.5 kB / 1.103 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/1.194, allocations: 91.98 kB / 1.103 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/1.194, allocations: 80.25 kB / 1.103 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/1.194, allocations: 3.891 kB / 1.103 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/1.194, allocations: 4.062 kB / 1.103 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/1.194, allocations: 2.953 kB / 1.103 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/1.194, allocations: 4.562 kB / 1.103 GB, free: 15.56 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.591e-05/1.194, allocations: 81.22 kB / 1.104 GB, free: 15.49 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.194, allocations: 4.031 kB / 1.104 GB, free: 15.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002882/1.195, allocations: 6.938 kB / 1.104 GB, free: 15.48 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.0004893/1.195, allocations: 0.6951 MB / 1.104 GB, free: 14.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001105/1.195, allocations: 17.59 kB / 1.104 GB, free: 14.79 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.195, allocations: 0 / 1.104 GB, free: 14.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.551e-05/1.195, allocations: 12 kB / 1.104 GB, free: 14.79 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/1.196, allocations: 9.625 kB / 1.104 GB, free: 14.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004752/1.196, allocations: 158.3 kB / 1.104 GB, free: 14.63 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/1.196, allocations: 0.6809 MB / 1.105 GB, free: 13.93 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.663e-05/1.196, allocations: 6 kB / 1.105 GB, free: 13.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/1.196, allocations: 8.812 kB / 1.105 GB, free: 13.93 MB / 0.698 GB Notification: Performance of SimCode: time 1.192e-06/1.197, allocations: 4 kB / 1.105 GB, free: 13.92 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/1.22, allocations: 1.206 MB / 1.106 GB, free: 13.75 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/1.221, allocations: 184.6 kB / 1.106 GB, free: 13.52 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/3.569, allocations: 4 kB / 1.106 GB, free: 13.52 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)