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.588/2.588, allocations: 284.9 MB / 292.4 MB, free: 10.6 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.001406/0.001405, allocations: 172.9 kB / 360.6 MB, free: 7.309 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.052/2.052, allocations: 205.3 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001115, allocations: 82.98 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.205e-05/3.23e-05, allocations: 4 kB / 0.8508 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8738/0.8739, allocations: 115.3 MB / 0.9634 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.266/7.14, allocations: 2.053 GB / 3.016 GB, free: 65.89 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/7.14, allocations: 80.55 kB / 3.016 GB, free: 65.85 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1246/7.265, allocations: 36.73 MB / 3.052 GB, free: 33.13 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.553e-06/7.265, allocations: 0 / 3.052 GB, free: 33.13 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.794e-06/7.265, allocations: 0 / 3.052 GB, free: 33.13 MB / 0.948 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.0003319/7.265, allocations: 342.4 kB / 3.052 GB, free: 32.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/7.265, allocations: 12.03 kB / 3.052 GB, free: 32.74 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003451/7.265, allocations: 31.83 kB / 3.052 GB, free: 32.71 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.099e-05/7.265, allocations: 159.1 kB / 3.052 GB, free: 32.52 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-05/7.266, allocations: 29.7 kB / 3.052 GB, free: 32.48 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/7.266, allocations: 0 / 3.052 GB, free: 32.48 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.684e-05/7.266, allocations: 19.98 kB / 3.052 GB, free: 32.46 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.544e-05/7.266, allocations: 45.69 kB / 3.052 GB, free: 32.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/7.266, allocations: 7.875 kB / 3.052 GB, free: 32.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/7.266, allocations: 3.953 kB / 3.052 GB, free: 32.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.32e-05/7.266, allocations: 7.938 kB / 3.052 GB, free: 32.39 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/7.266, allocations: 322.6 kB / 3.053 GB, free: 32.02 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.071e-05/7.266, allocations: 22.58 kB / 3.053 GB, free: 31.99 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/7.266, allocations: 4.859 kB / 3.053 GB, free: 31.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-06/7.266, allocations: 4 kB / 3.053 GB, free: 31.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/7.267, allocations: 30.56 kB / 3.053 GB, free: 31.94 MB / 0.948 GB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/7.267, allocations: 0 / 3.053 GB, free: 31.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=1): time 0.000294/7.267, allocations: 45.64 kB / 3.053 GB, free: 31.89 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/7.267, allocations: 55.41 kB / 3.053 GB, free: 31.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.857e-05/7.267, allocations: 95.62 kB / 3.053 GB, free: 31.72 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/7.267, allocations: 25.7 kB / 3.053 GB, free: 31.69 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/7.267, allocations: 103.9 kB / 3.053 GB, free: 31.59 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/7.267, allocations: 4 kB / 3.053 GB, free: 31.58 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/7.267, allocations: 0 / 3.053 GB, free: 31.58 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.026e-05/7.267, allocations: 310.8 kB / 3.053 GB, free: 31.27 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/7.267, allocations: 4 kB / 3.053 GB, free: 31.27 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.237e-05/7.267, allocations: 26.56 kB / 3.054 GB, free: 31.23 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.927e-05/7.267, allocations: 8 kB / 3.054 GB, free: 31.22 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/7.267, allocations: 0 / 3.054 GB, free: 31.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.452e-05/7.267, allocations: 49.62 kB / 3.054 GB, free: 31.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/7.267, allocations: 5.094 kB / 3.054 GB, free: 31.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/7.267, allocations: 0 / 3.054 GB, free: 31.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/7.267, allocations: 4 kB / 3.054 GB, free: 31.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.711e-05/7.268, allocations: 11.95 kB / 3.054 GB, free: 31.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/7.268, allocations: 0 / 3.054 GB, free: 31.15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.003e-05/7.268, allocations: 7.906 kB / 3.054 GB, free: 31.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/7.268, allocations: 4.094 kB / 3.054 GB, free: 31.14 MB / 0.948 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 () * 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.096e-05/7.268, allocations: 112.7 kB / 3.054 GB, free: 31.02 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.506e-05/7.268, allocations: 33.69 kB / 3.054 GB, free: 30.98 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/7.268, allocations: 0 / 3.054 GB, free: 30.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/7.268, allocations: 11.7 kB / 3.054 GB, free: 30.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/7.268, allocations: 0 / 3.054 GB, free: 30.97 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/7.268, allocations: 3.938 kB / 3.054 GB, free: 30.97 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/7.268, allocations: 0 / 3.054 GB, free: 30.97 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/7.268, allocations: 323.4 kB / 3.054 GB, free: 30.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/7.268, allocations: 0 / 3.054 GB, free: 30.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.07e-05/7.268, allocations: 3.938 kB / 3.054 GB, free: 30.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/7.268, allocations: 9.75 kB / 3.054 GB, free: 30.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/7.268, allocations: 4 kB / 3.054 GB, free: 30.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/7.268, allocations: 0 / 3.054 GB, free: 30.59 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/7.268, allocations: 3.938 kB / 3.054 GB, free: 30.59 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.498e-05/7.268, allocations: 61.08 kB / 3.054 GB, free: 30.51 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/7.268, allocations: 85.19 kB / 3.054 GB, free: 30.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/7.268, allocations: 3.953 kB / 3.054 GB, free: 30.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/7.269, allocations: 7.984 kB / 3.054 GB, free: 30.39 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/7.269, allocations: 0 / 3.054 GB, free: 30.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/7.269, allocations: 0 / 3.054 GB, free: 30.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.075e-05/7.269, allocations: 81.28 kB / 3.054 GB, free: 30.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.2e-07/7.269, allocations: 0 / 3.054 GB, free: 30.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003413/7.269, allocations: 36.02 kB / 3.054 GB, free: 30.28 MB / 0.948 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 (1): * Single equations (assignments): 1 * 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.001075/7.27, allocations: 1.125 MB / 3.055 GB, free: 29.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001171/7.27, allocations: 12 kB / 3.055 GB, free: 29.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/7.27, allocations: 4 kB / 3.055 GB, free: 29.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.587e-06/7.27, allocations: 0 / 3.055 GB, free: 29.12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/7.27, allocations: 14.25 kB / 3.055 GB, free: 29.11 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/7.271, allocations: 93.97 kB / 3.056 GB, free: 28.98 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/7.271, allocations: 0.6768 MB / 3.056 GB, free: 28.28 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.512e-05/7.271, allocations: 7.984 kB / 3.056 GB, free: 28.27 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.616e-05/7.271, allocations: 15.44 kB / 3.056 GB, free: 28.25 MB / 0.948 GB Notification: Performance of SimCode: time 9.51e-07/7.271, allocations: 3.938 kB / 3.056 GB, free: 28.25 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0463/7.317, allocations: 5.21 MB / 3.061 GB, free: 23.07 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/7.318, allocations: 157.3 kB / 3.061 GB, free: 22.88 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.63/9.948, allocations: 0 / 3.061 GB, free: 22.88 MB / 0.948 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)