Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009678/0.0009678, allocations: 172.6 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.863/1.863, allocations: 205.4 MB / 0.5786 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009779/0.0009778, allocations: 87.61 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003603, allocations: 13.16 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2325, allocations: 106.3 MB / 0.9014 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1626/0.3951, allocations: 144.2 MB / 1.042 GB, free: 14.79 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001232/0.3953, allocations: 51.8 kB / 1.042 GB, free: 14.74 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.3953, allocations: 0 / 1.042 GB, free: 14.74 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.3955, allocations: 7.984 kB / 1.042 GB, free: 14.73 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.287e-05/0.3956, allocations: 3.938 kB / 1.042 GB, free: 14.73 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007593/0.3963, allocations: 195.4 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.3964, allocations: 55.81 kB / 1.043 GB, free: 14.48 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.3965, allocations: 4 kB / 1.043 GB, free: 14.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.744e-05/0.3965, allocations: 15.92 kB / 1.043 GB, free: 14.46 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.527e-05/0.3966, allocations: 8 kB / 1.043 GB, free: 14.46 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.3966, allocations: 3.938 kB / 1.043 GB, free: 14.45 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004909/0.3971, allocations: 235.3 kB / 1.043 GB, free: 14.22 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.3972, allocations: 15.97 kB / 1.043 GB, free: 14.21 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.3972, allocations: 33.64 kB / 1.043 GB, free: 14.17 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.3974, allocations: 67.91 kB / 1.043 GB, free: 14.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3975, allocations: 0 / 1.043 GB, free: 14.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3975, allocations: 0 / 1.043 GB, free: 14.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.3975, allocations: 0 / 1.043 GB, free: 14.1 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.0004242/0.3979, allocations: 335.8 kB / 1.043 GB, free: 13.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3979, allocations: 8.031 kB / 1.043 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000333/0.3983, allocations: 28.91 kB / 1.043 GB, free: 13.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.3984, allocations: 160.4 kB / 1.043 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-05/0.3985, allocations: 41.56 kB / 1.043 GB, free: 13.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.3985, allocations: 7.922 kB / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.3987, allocations: 45.69 kB / 1.043 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.3987, allocations: 0 / 1.043 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3987, allocations: 0 / 1.043 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.3987, allocations: 4 kB / 1.043 GB, free: 13.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.856e-05/0.3988, allocations: 19.98 kB / 1.044 GB, free: 13.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.3992, allocations: 264.8 kB / 1.044 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.189e-05/0.3993, allocations: 30.5 kB / 1.044 GB, free: 13.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.3993, allocations: 8.922 kB / 1.044 GB, free: 13.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.3995, allocations: 93.09 kB / 1.044 GB, free: 12.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.3995, allocations: 38.56 kB / 1.044 GB, free: 12.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3995, allocations: 0 / 1.044 GB, free: 12.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002405/0.3998, allocations: 45.69 kB / 1.044 GB, free: 12.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.3998, allocations: 59.39 kB / 1.044 GB, free: 12.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.988e-05/0.3999, allocations: 105.7 kB / 1.044 GB, free: 12.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.3999, allocations: 25.7 kB / 1.044 GB, free: 12.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.4, allocations: 96.17 kB / 1.044 GB, free: 12.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.947e-06/0.4, allocations: 7.891 kB / 1.044 GB, free: 12.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.4, allocations: 0 / 1.044 GB, free: 12.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.4001, allocations: 310.8 kB / 1.045 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.4001, allocations: 8 kB / 1.045 GB, free: 12.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.4002, allocations: 22.56 kB / 1.045 GB, free: 12.13 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.763e-05/0.4002, allocations: 34.52 kB / 1.045 GB, free: 12.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4002, allocations: 0 / 1.045 GB, free: 12.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.789e-05/0.4003, allocations: 57.62 kB / 1.045 GB, free: 12.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4004, allocations: 4 kB / 1.045 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.4004, allocations: 0 / 1.045 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.4004, allocations: 0 / 1.045 GB, free: 12.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.4004, allocations: 8 kB / 1.045 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4005, allocations: 7.875 kB / 1.045 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.4005, allocations: 4.094 kB / 1.045 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.4005, allocations: 8 kB / 1.045 GB, free: 11.99 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.275e-05/0.4006, allocations: 109.8 kB / 1.045 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.4006, allocations: 4 kB / 1.045 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.24e-05/0.4007, allocations: 7.125 kB / 1.045 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4007, allocations: 3.938 kB / 1.045 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4007, allocations: 3.938 kB / 1.045 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.4007, allocations: 0 / 1.045 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002952/0.401, allocations: 371.5 kB / 1.045 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.401, allocations: 0 / 1.045 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.618e-05/0.401, allocations: 4 kB / 1.045 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.401, allocations: 3.938 kB / 1.045 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.4011, allocations: 0 / 1.045 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4011, allocations: 4 kB / 1.045 GB, free: 11.42 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4011, allocations: 7.938 kB / 1.045 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.812e-05/0.4012, allocations: 74.05 kB / 1.045 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.4012, allocations: 81.05 kB / 1.045 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.4012, allocations: 4 kB / 1.045 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.4013, allocations: 4 kB / 1.045 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.4013, allocations: 3.984 kB / 1.045 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.4013, allocations: 0 / 1.045 GB, free: 11.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.102e-05/0.4014, allocations: 83.31 kB / 1.045 GB, free: 11.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4014, allocations: 0 / 1.045 GB, free: 11.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001802/0.4016, allocations: 12 kB / 1.045 GB, free: 11.11 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001348/0.4017, allocations: 99.19 kB / 1.046 GB, free: 11.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.203e-05/0.4018, allocations: 19.92 kB / 1.046 GB, free: 10.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4018, allocations: 0 / 1.046 GB, free: 10.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.266e-05/0.4018, allocations: 16.12 kB / 1.046 GB, free: 10.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.4021, allocations: 10.34 kB / 1.046 GB, free: 10.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.4024, allocations: 155.1 kB / 1.046 GB, free: 10.78 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.4026, allocations: 0.6813 MB / 1.046 GB, free: 10.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.4026, allocations: 15.38 kB / 1.046 GB, free: 10.05 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/0.4027, allocations: 4.125 kB / 1.046 GB, free: 10.05 MB / 0.698 GB Notification: Performance of Templates: time 0.001928/0.4046, allocations: 0.5898 MB / 1.047 GB, free: 9.461 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)