Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 97.48 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00919/0.009189, allocations: 168.3 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.022/3.022, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003441, allocations: 11.66 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3425, allocations: 162.2 MB / 1.074 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1835/0.5261, allocations: 144.2 MB / 1.215 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001442/0.5263, allocations: 51.86 kB / 1.215 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.5263, allocations: 0 / 1.215 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.5265, allocations: 3.938 kB / 1.215 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.958e-05/0.5266, allocations: 11.98 kB / 1.215 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008258/0.5274, allocations: 207.3 kB / 1.215 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.5275, allocations: 47.89 kB / 1.215 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.5276, allocations: 0 / 1.215 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.476e-05/0.5276, allocations: 27.84 kB / 1.215 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.25e-05/0.5277, allocations: 15.98 kB / 1.215 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.5277, allocations: 4 kB / 1.215 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004492/0.5282, allocations: 227.3 kB / 1.215 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.931e-05/0.5283, allocations: 7.984 kB / 1.215 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.5283, allocations: 45.61 kB / 1.216 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.5286, allocations: 127.9 kB / 1.216 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5286, allocations: 0 / 1.216 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.377e-06/0.5286, allocations: 4 kB / 1.216 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.5286, allocations: 0 / 1.216 GB, free: 6.07 MB / 0.9669 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.0004439/0.5291, allocations: 327.6 kB / 1.216 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.5291, allocations: 12.03 kB / 1.216 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003612/0.5295, allocations: 24.83 kB / 1.216 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.5296, allocations: 172.3 kB / 1.216 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.388e-05/0.5297, allocations: 29.64 kB / 1.216 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.5297, allocations: 0 / 1.216 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.5299, allocations: 53.61 kB / 1.216 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.5299, allocations: 0 / 1.216 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.5299, allocations: 4 kB / 1.216 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.53, allocations: 7.984 kB / 1.216 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.704e-05/0.53, allocations: 19.98 kB / 1.216 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.5304, allocations: 252.9 kB / 1.217 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.696e-05/0.5305, allocations: 26.56 kB / 1.217 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.532e-05/0.5305, allocations: 12.92 kB / 1.217 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.5307, allocations: 101 kB / 1.217 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.5307, allocations: 30.56 kB / 1.217 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.5307, allocations: 0 / 1.217 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000256/0.531, allocations: 45.69 kB / 1.217 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.531, allocations: 63.41 kB / 1.217 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.212e-05/0.5311, allocations: 105.8 kB / 1.217 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.5312, allocations: 25.7 kB / 1.217 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.5312, allocations: 92.03 kB / 1.217 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.5312, allocations: 7.906 kB / 1.217 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/0.5313, allocations: 9.719 kB / 1.217 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.5314, allocations: 310.8 kB / 1.217 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.5314, allocations: 11.92 kB / 1.217 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.122e-05/0.5314, allocations: 26.58 kB / 1.217 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.291e-05/0.5315, allocations: 30.58 kB / 1.217 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5315, allocations: 0 / 1.217 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.289e-05/0.5316, allocations: 53.62 kB / 1.217 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.5316, allocations: 4 kB / 1.217 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5316, allocations: 4.094 kB / 1.217 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.5316, allocations: 4 kB / 1.217 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.449e-05/0.5317, allocations: 11.92 kB / 1.217 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.5317, allocations: 3.938 kB / 1.217 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/0.5317, allocations: 11.84 kB / 1.217 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.5317, allocations: 0 / 1.217 GB, free: 3.949 MB / 0.9669 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 7.684e-05/0.5318, allocations: 113.8 kB / 1.218 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.5319, allocations: 4 kB / 1.218 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/0.5319, allocations: 3.125 kB / 1.218 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.5319, allocations: 4 kB / 1.218 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.5319, allocations: 7.938 kB / 1.218 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5319, allocations: 0 / 1.218 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.5322, allocations: 363.6 kB / 1.218 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5322, allocations: 0 / 1.218 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.5322, allocations: 4 kB / 1.218 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.5323, allocations: 3.938 kB / 1.218 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.5323, allocations: 0 / 1.218 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.5323, allocations: 8.062 kB / 1.218 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5323, allocations: 3.984 kB / 1.218 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.26e-05/0.5324, allocations: 65.94 kB / 1.218 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.5324, allocations: 88.95 kB / 1.218 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.5324, allocations: 4 kB / 1.218 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.5325, allocations: 12.02 kB / 1.218 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.5326, allocations: 4.219 kB / 1.218 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.5326, allocations: 0 / 1.218 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.843e-05/0.5326, allocations: 83.27 kB / 1.218 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5326, allocations: 0 / 1.218 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001934/0.5328, allocations: 8 kB / 1.218 GB, free: 3.07 MB / 0.9669 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.000146/0.533, allocations: 103.2 kB / 1.218 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.424e-05/0.5331, allocations: 23.88 kB / 1.218 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5331, allocations: 0 / 1.218 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.125e-05/0.5331, allocations: 4 kB / 1.218 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.5333, allocations: 17.81 kB / 1.218 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.5336, allocations: 129.7 kB / 1.218 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.5339, allocations: 0.677 MB / 1.219 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.94e-05/0.5339, allocations: 7.984 kB / 1.219 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.534, allocations: 7.438 kB / 1.219 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.534, allocations: 0 / 1.219 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of Templates: time 0.00288/0.5369, allocations: 0.5472 MB / 1.22 GB, free: 1.496 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_1.6_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_1.6_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_1.6_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_1.6_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)