Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009151/0.0009149, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005443/0.005443, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 252 MB / 0.5105 GB, free: 4.688 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000936/0.0009362, allocations: 15.94 kB / 0.6249 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.5356, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1527/0.6884, allocations: 143.7 MB / 0.8691 GB, free: 11 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001325/0.6886, allocations: 63.78 kB / 0.8691 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.956e-05/0.6887, allocations: 0 / 0.8691 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.6888, allocations: 0 / 0.8691 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 8.413e-05/0.6889, allocations: 11.92 kB / 0.8691 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.6894, allocations: 86.31 kB / 0.8692 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 9.881e-05/0.6895, allocations: 59.86 kB / 0.8693 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.6895, allocations: 4 kB / 0.8693 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.955e-05/0.6896, allocations: 8 kB / 0.8693 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 8.599e-05/0.6896, allocations: 27.84 kB / 0.8693 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.6897, allocations: 4 kB / 0.8693 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/0.6899, allocations: 79.78 kB / 0.8694 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.69, allocations: 7.984 kB / 0.8694 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.69, allocations: 37.64 kB / 0.8694 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.6902, allocations: 61.83 kB / 0.8695 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6902, allocations: 0 / 0.8695 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6902, allocations: 0 / 0.8695 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.6902, allocations: 4 kB / 0.8695 GB, free: 10.55 MB / 0.6856 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.0003645/0.6906, allocations: 335.5 kB / 0.8698 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.6906, allocations: 8.031 kB / 0.8698 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002317/0.6909, allocations: 20.91 kB / 0.8699 GB, free: 10.15 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.691, allocations: 168.4 kB / 0.87 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.6911, allocations: 33.62 kB / 0.8701 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.6911, allocations: 0 / 0.8701 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.6912, allocations: 49.67 kB / 0.8701 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.6913, allocations: 4 kB / 0.8701 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.6913, allocations: 0 / 0.8701 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.6913, allocations: 7.938 kB / 0.8701 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.446e-05/0.6914, allocations: 19.92 kB / 0.8701 GB, free: 9.82 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000371/0.6917, allocations: 260.8 kB / 0.8704 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 3.674e-05/0.6918, allocations: 18.58 kB / 0.8704 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.6918, allocations: 8.859 kB / 0.8704 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.591e-06/0.6918, allocations: 0 / 0.8704 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.6918, allocations: 34.62 kB / 0.8704 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.6919, allocations: 0 / 0.8704 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1): time 0.0001298/0.692, allocations: 37.64 kB / 0.8705 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.692, allocations: 59.28 kB / 0.8705 GB, free: 9.32 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.599e-05/0.6921, allocations: 105.8 kB / 0.8706 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.6921, allocations: 29.83 kB / 0.8707 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.6922, allocations: 91.98 kB / 0.8707 GB, free: 9.078 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.758e-06/0.6922, allocations: 11.89 kB / 0.8708 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.6922, allocations: 9.719 kB / 0.8708 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.04e-05/0.6923, allocations: 310.8 kB / 0.8711 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.791e-05/0.6924, allocations: 4 kB / 0.8711 GB, free: 8.734 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/0.6924, allocations: 26.56 kB / 0.8711 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/0.6925, allocations: 34.52 kB / 0.8711 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6925, allocations: 0 / 0.8711 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.084e-05/0.6925, allocations: 57.62 kB / 0.8712 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.6926, allocations: 6.188 kB / 0.8712 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.6926, allocations: 0 / 0.8712 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.6926, allocations: 0 / 0.8712 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.809e-05/0.6927, allocations: 12.09 kB / 0.8712 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.6927, allocations: 3.938 kB / 0.8712 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.741e-05/0.6927, allocations: 0 / 0.8712 GB, free: 8.574 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.6927, allocations: 4 kB / 0.8712 GB, free: 8.57 MB / 0.6856 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 6.534e-05/0.6928, allocations: 121.8 kB / 0.8713 GB, free: 8.441 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.6928, allocations: 3.906 kB / 0.8713 GB, free: 8.438 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.899e-05/0.6929, allocations: 3.125 kB / 0.8713 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.6929, allocations: 0 / 0.8713 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6929, allocations: 3.938 kB / 0.8713 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.6929, allocations: 4 kB / 0.8713 GB, free: 8.426 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/0.6931, allocations: 346.7 kB / 0.8717 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.6931, allocations: 256 / 0.8717 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.679e-05/0.6932, allocations: 7.984 kB / 0.8717 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.6932, allocations: 3.938 kB / 0.8717 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.6932, allocations: 0 / 0.8717 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.6932, allocations: 0 / 0.8717 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6932, allocations: 3.938 kB / 0.8717 GB, free: 8.012 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.898e-05/0.6933, allocations: 61.17 kB / 0.8717 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.6933, allocations: 81.05 kB / 0.8718 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.6933, allocations: 7.984 kB / 0.8718 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.6934, allocations: 0 / 0.8718 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.023e-05/0.6934, allocations: 4.094 kB / 0.8718 GB, free: 7.824 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.6934, allocations: 3.984 kB / 0.8718 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 3.986e-05/0.6935, allocations: 87.27 kB / 0.8719 GB, free: 7.734 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6935, allocations: 4.031 kB / 0.8719 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0001884/0.6937, allocations: 8 kB / 0.8719 GB, free: 7.723 MB / 0.6856 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 () * Number of clocked 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 (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.0001026/0.6938, allocations: 95.25 kB / 0.872 GB, free: 7.621 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 8.196e-05/0.6939, allocations: 19.88 kB / 0.872 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.6939, allocations: 0 / 0.872 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 6.261e-06/0.6939, allocations: 4 kB / 0.872 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.6941, allocations: 9.172 kB / 0.8721 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.6944, allocations: 136.4 kB / 0.8722 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.6946, allocations: 0.6731 MB / 0.8728 GB, free: 6.73 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 5.763e-05/0.6947, allocations: 7.984 kB / 0.8728 GB, free: 6.723 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.6947, allocations: 7.438 kB / 0.8729 GB, free: 6.715 MB / 0.6856 GB Notification: Performance of SimCode: time 1.883e-06/0.6947, allocations: 4 kB / 0.8729 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of Templates: time 0.002139/0.6969, allocations: 442.4 kB / 0.8733 GB, free: 6.312 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: