Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004325/0.004325, allocations: 101.3 kB / 15.73 MB, free: 6.051 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.0009897/0.0009899, allocations: 191.8 kB / 16.67 MB, free: 5.969 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002097/0.002097, allocations: 287 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9302/0.9302, allocations: 169.2 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 91.86 kB / 0.6815 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4431, allocations: 86.97 MB / 0.7664 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1549/0.5981, allocations: 147.8 MB / 0.9108 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00014/0.5982, allocations: 63.84 kB / 0.9108 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.759e-05/0.5983, allocations: 0 / 0.9108 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.5984, allocations: 3.938 kB / 0.9108 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 7.606e-05/0.5985, allocations: 7.938 kB / 0.9108 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.599, allocations: 103.6 kB / 0.9109 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 8.335e-05/0.5991, allocations: 39.84 kB / 0.911 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.5991, allocations: 3.984 kB / 0.911 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.849e-05/0.5992, allocations: 19.94 kB / 0.911 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 6.888e-05/0.5992, allocations: 11.97 kB / 0.911 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.5992, allocations: 0 / 0.911 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.5995, allocations: 87.72 kB / 0.9111 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.5996, allocations: 3.984 kB / 0.9111 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.5996, allocations: 15.94 kB / 0.9111 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.5998, allocations: 71.62 kB / 0.9112 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5998, allocations: 0 / 0.9112 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.695e-06/0.5998, allocations: 0 / 0.9112 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.5998, allocations: 7.938 kB / 0.9112 GB, free: 15.09 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.0003512/0.6002, allocations: 341.2 kB / 0.9115 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.6002, allocations: 11.97 kB / 0.9115 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002175/0.6004, allocations: 16.92 kB / 0.9115 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.6006, allocations: 164.4 kB / 0.9117 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.388e-05/0.6006, allocations: 33.64 kB / 0.9117 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.6007, allocations: 0 / 0.9117 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.6008, allocations: 49.69 kB / 0.9118 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.6008, allocations: 0 / 0.9118 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.6008, allocations: 0 / 0.9118 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.6008, allocations: 3.984 kB / 0.9118 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.562e-05/0.6009, allocations: 23.92 kB / 0.9118 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.6013, allocations: 268.8 kB / 0.912 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 3.65e-05/0.6013, allocations: 22.58 kB / 0.9121 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.611e-05/0.6013, allocations: 8.859 kB / 0.9121 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.461e-06/0.6013, allocations: 0 / 0.9121 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.6014, allocations: 34.55 kB / 0.9121 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.6014, allocations: 0 / 0.9121 GB, free: 13.96 MB / 0.6856 GB Notification: Performance of matching and sorting (n=1): time 0.0001274/0.6015, allocations: 37.7 kB / 0.9121 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.6016, allocations: 55.34 kB / 0.9122 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/0.6016, allocations: 113.9 kB / 0.9123 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.6017, allocations: 25.7 kB / 0.9123 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.6017, allocations: 92.05 kB / 0.9124 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.164e-06/0.6017, allocations: 4 kB / 0.9124 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.6017, allocations: 9.719 kB / 0.9124 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.6018, allocations: 322.8 kB / 0.9127 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.6019, allocations: 4 kB / 0.9127 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.677e-05/0.6019, allocations: 22.58 kB / 0.9128 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.2e-05/0.6019, allocations: 34.5 kB / 0.9128 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.602, allocations: 0 / 0.9128 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.852e-05/0.602, allocations: 53.64 kB / 0.9129 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.6021, allocations: 7.984 kB / 0.9129 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.6021, allocations: 0 / 0.9129 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.6021, allocations: 8.094 kB / 0.9129 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.266e-05/0.6021, allocations: 4 kB / 0.9129 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.6022, allocations: 3.938 kB / 0.9129 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/0.6022, allocations: 7.953 kB / 0.9129 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.6022, allocations: 0 / 0.9129 GB, free: 13.1 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 7.29e-05/0.6023, allocations: 116.2 kB / 0.913 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.6023, allocations: 0 / 0.913 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.862e-05/0.6023, allocations: 15.11 kB / 0.913 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.6023, allocations: 0 / 0.913 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.6024, allocations: 7.938 kB / 0.913 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.6024, allocations: 0 / 0.913 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.6026, allocations: 342.7 kB / 0.9133 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6026, allocations: 0 / 0.9133 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-05/0.6026, allocations: 0 / 0.9133 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.6026, allocations: 7.938 kB / 0.9133 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.6026, allocations: 0 / 0.9133 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.6026, allocations: 0 / 0.9133 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6027, allocations: 0 / 0.9133 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.661e-05/0.6027, allocations: 69.34 kB / 0.9134 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.6028, allocations: 88.94 kB / 0.9135 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.6028, allocations: 4 kB / 0.9135 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.177e-05/0.6029, allocations: 7.984 kB / 0.9135 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.074e-05/0.6029, allocations: 0 / 0.9135 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.6029, allocations: 3.938 kB / 0.9135 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.283e-05/0.6029, allocations: 83.31 kB / 0.9136 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.603, allocations: 0 / 0.9136 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0001921/0.6031, allocations: 12 kB / 0.9136 GB, free: 12.25 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 8.557e-05/0.6032, allocations: 99.23 kB / 0.9137 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 7.628e-05/0.6033, allocations: 11.94 kB / 0.9137 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6033, allocations: 4 kB / 0.9137 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 4.809e-06/0.6033, allocations: 0 / 0.9137 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.6036, allocations: 13.88 kB / 0.9137 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.6038, allocations: 113.3 kB / 0.9138 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.6041, allocations: 0.6768 MB / 0.9145 GB, free: 11.28 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 5.011e-05/0.6041, allocations: 8.078 kB / 0.9145 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.6041, allocations: 11.38 kB / 0.9145 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of SimCode: time 3.51e-07/0.6041, allocations: 4 kB / 0.9145 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of Templates: time 0.002354/0.6065, allocations: 0.5053 MB / 0.915 GB, free: 10.79 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)