Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2208/0.2236, allocations: 80.83 MB / 0.5897 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7007/0.9243, allocations: 146 MB / 0.7322 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001849/0.9246, allocations: 52.59 kB / 0.7323 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.9246, allocations: 1.062 kB / 0.7323 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.9248, allocations: 3.938 kB / 0.7323 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.925, allocations: 8.562 kB / 0.7323 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008767/0.9259, allocations: 194.2 kB / 0.7325 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.926, allocations: 52.16 kB / 0.7325 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.926, allocations: 0.875 kB / 0.7325 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.443e-05/0.9261, allocations: 19.72 kB / 0.7326 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.595e-05/0.9262, allocations: 15.81 kB / 0.7326 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.9262, allocations: 0.6875 kB / 0.7326 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00054/0.9268, allocations: 235.5 kB / 0.7328 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.139e-05/0.9268, allocations: 6.734 kB / 0.7328 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.9269, allocations: 7.625 kB / 0.7328 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.9272, allocations: 122 kB / 0.7329 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.9272, allocations: 1.25 kB / 0.7329 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9272, allocations: 0 / 0.7329 GB, free: 15.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.9272, allocations: 0 / 0.7329 GB, free: 15.21 MB / 0.545 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.0004826/0.9277, allocations: 350.7 kB / 0.7333 GB, free: 14.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.9278, allocations: 11.25 kB / 0.7333 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003717/0.9282, allocations: 27.91 kB / 0.7333 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.9283, allocations: 165.3 kB / 0.7335 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.202e-05/0.9284, allocations: 35.78 kB / 0.7335 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.9284, allocations: 0.9375 kB / 0.7335 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.9286, allocations: 54.42 kB / 0.7335 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.9286, allocations: 3.938 kB / 0.7335 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.9286, allocations: 0.625 kB / 0.7335 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.9286, allocations: 4.016 kB / 0.7335 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.345e-05/0.9287, allocations: 20.17 kB / 0.7336 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.9291, allocations: 253 kB / 0.7338 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.887e-05/0.9292, allocations: 27.27 kB / 0.7338 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.9292, allocations: 11.77 kB / 0.7338 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/0.9294, allocations: 91.16 kB / 0.7339 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.9294, allocations: 36.25 kB / 0.734 GB, free: 14.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.9294, allocations: 0 / 0.734 GB, free: 14.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002426/0.9297, allocations: 48.03 kB / 0.734 GB, free: 14.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.9297, allocations: 56.62 kB / 0.7341 GB, free: 14.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.625e-05/0.9298, allocations: 105 kB / 0.7342 GB, free: 13.94 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.9298, allocations: 26.42 kB / 0.7342 GB, free: 13.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.9299, allocations: 93.02 kB / 0.7343 GB, free: 13.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.9299, allocations: 6.344 kB / 0.7343 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.9299, allocations: 17.16 kB / 0.7343 GB, free: 13.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.93, allocations: 314.7 kB / 0.7346 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.9301, allocations: 10.84 kB / 0.7346 GB, free: 13.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.9301, allocations: 26.06 kB / 0.7346 GB, free: 13.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.037e-05/0.9302, allocations: 29.66 kB / 0.7347 GB, free: 13.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9302, allocations: 0 / 0.7347 GB, free: 13.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.853e-05/0.9303, allocations: 56.08 kB / 0.7347 GB, free: 13.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.9303, allocations: 4.906 kB / 0.7347 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.9303, allocations: 1.125 kB / 0.7347 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.9303, allocations: 6.375 kB / 0.7347 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.545e-05/0.9304, allocations: 12.2 kB / 0.7347 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.9304, allocations: 0.9062 kB / 0.7347 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.25e-05/0.9305, allocations: 8.938 kB / 0.7348 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.9305, allocations: 6.938 kB / 0.7348 GB, free: 13.38 MB / 0.545 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.108e-05/0.9306, allocations: 108.7 kB / 0.7349 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.9306, allocations: 5.281 kB / 0.7349 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.9306, allocations: 10.62 kB / 0.7349 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.9306, allocations: 0.9062 kB / 0.7349 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.9306, allocations: 0 / 0.7349 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.9307, allocations: 4.469 kB / 0.7349 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.931, allocations: 356.8 kB / 0.7352 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.931, allocations: 1.906 kB / 0.7352 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.518e-05/0.931, allocations: 2.625 kB / 0.7352 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.931, allocations: 9.219 kB / 0.7352 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.912e-06/0.931, allocations: 5.031 kB / 0.7352 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.931, allocations: 0 / 0.7352 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.9311, allocations: 1.906 kB / 0.7352 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.139e-05/0.9311, allocations: 69.98 kB / 0.7353 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.348e-05/0.9312, allocations: 77.89 kB / 0.7354 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.9313, allocations: 11.7 kB / 0.7354 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.9313, allocations: 5.969 kB / 0.7354 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.9314, allocations: 3.812 kB / 0.7354 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.9314, allocations: 1.469 kB / 0.7354 GB, free: 12.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.099e-05/0.9314, allocations: 82 kB / 0.7355 GB, free: 12.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9314, allocations: 1.031 kB / 0.7355 GB, free: 12.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002/0.9316, allocations: 5.5 kB / 0.7355 GB, free: 12.61 MB / 0.545 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.0001378/0.9318, allocations: 103.4 kB / 0.7356 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.229e-05/0.9319, allocations: 17.91 kB / 0.7356 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.9319, allocations: 0 / 0.7356 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.21e-05/0.9319, allocations: 3.469 kB / 0.7356 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.9322, allocations: 9.922 kB / 0.7356 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.9325, allocations: 141 kB / 0.7358 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.9328, allocations: 0.6756 MB / 0.7364 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.013e-05/0.9329, allocations: 5.531 kB / 0.7364 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.9329, allocations: 9.656 kB / 0.7364 GB, free: 11.67 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.9329, allocations: 4 kB / 0.7364 GB, free: 11.67 MB / 0.545 GB Notification: Performance of Templates: time 0.00304/0.9359, allocations: 0.5067 MB / 0.7369 GB, free: 11.62 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)