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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 249.4 MB, free: 2.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002395/0.002395, allocations: 288.9 kB / 304.8 MB, free: 3.586 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.059/1.059, allocations: 180.9 MB / 0.5281 GB, free: 1.789 MB / 382.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0028/0.0028, allocations: 99.83 kB / 0.7283 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/0.5575, allocations: 94.16 MB / 0.8203 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1847/0.7421, allocations: 148.3 MB / 0.9651 GB, free: 8.98 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0001578/0.7423, allocations: 55.84 kB / 0.9652 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.7423, allocations: 0 / 0.9652 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.7425, allocations: 7.938 kB / 0.9652 GB, free: 8.918 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 7.869e-05/0.7425, allocations: 11.92 kB / 0.9652 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.743, allocations: 107.6 kB / 0.9653 GB, free: 8.801 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 9.847e-05/0.7431, allocations: 39.84 kB / 0.9653 GB, free: 8.762 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.7432, allocations: 4 kB / 0.9653 GB, free: 8.758 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.7432, allocations: 15.92 kB / 0.9653 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 8.233e-05/0.7433, allocations: 15.98 kB / 0.9654 GB, free: 8.727 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.7433, allocations: 0 / 0.9654 GB, free: 8.727 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.7436, allocations: 87.7 kB / 0.9654 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 5.381e-05/0.7436, allocations: 7.984 kB / 0.9654 GB, free: 8.633 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.7437, allocations: 15.94 kB / 0.9655 GB, free: 8.617 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.7439, allocations: 75.28 kB / 0.9655 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.7439, allocations: 0 / 0.9655 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7439, allocations: 7.938 kB / 0.9655 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.7439, allocations: 0 / 0.9655 GB, free: 8.543 MB / 0.7012 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.0004545/0.7443, allocations: 339.4 kB / 0.9659 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.7444, allocations: 8.031 kB / 0.9659 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.7446, allocations: 16.92 kB / 0.9659 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.7447, allocations: 168.3 kB / 0.966 GB, free: 7.938 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/0.7448, allocations: 37.64 kB / 0.9661 GB, free: 7.895 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.7448, allocations: 0 / 0.9661 GB, free: 7.895 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.745, allocations: 45.69 kB / 0.9661 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.745, allocations: 0 / 0.9661 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.745, allocations: 0 / 0.9661 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.745, allocations: 0 / 0.9661 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.858e-05/0.7451, allocations: 23.92 kB / 0.9662 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.7455, allocations: 264.9 kB / 0.9664 GB, free: 7.512 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 4.343e-05/0.7456, allocations: 18.58 kB / 0.9664 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.12e-05/0.7456, allocations: 8.922 kB / 0.9664 GB, free: 7.473 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.7456, allocations: 0 / 0.9664 GB, free: 7.473 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.7456, allocations: 34.55 kB / 0.9665 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.7456, allocations: 0 / 0.9665 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1): time 0.000144/0.7458, allocations: 33.64 kB / 0.9665 GB, free: 7.391 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.7458, allocations: 63.47 kB / 0.9666 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.7459, allocations: 105.8 kB / 0.9667 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.7459, allocations: 29.64 kB / 0.9667 GB, free: 7.168 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/0.746, allocations: 95.98 kB / 0.9668 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.602e-06/0.746, allocations: 3.984 kB / 0.9668 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.746, allocations: 17.72 kB / 0.9668 GB, free: 7.043 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.7462, allocations: 318.8 kB / 0.9671 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.7462, allocations: 0 / 0.9671 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.329e-05/0.7462, allocations: 26.58 kB / 0.9671 GB, free: 6.688 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.772e-05/0.7463, allocations: 34.5 kB / 0.9672 GB, free: 6.645 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.7463, allocations: 4 kB / 0.9672 GB, free: 6.641 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.647e-05/0.7464, allocations: 57.7 kB / 0.9672 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.7464, allocations: 7.984 kB / 0.9672 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.7464, allocations: 0 / 0.9672 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.7464, allocations: 4 kB / 0.9672 GB, free: 6.566 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.993e-05/0.7464, allocations: 4 kB / 0.9672 GB, free: 6.562 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.7465, allocations: 3.938 kB / 0.9672 GB, free: 6.559 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.156e-05/0.7465, allocations: 8.203 kB / 0.9672 GB, free: 6.551 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.7465, allocations: 0 / 0.9672 GB, free: 6.551 MB / 0.7012 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.632e-05/0.7466, allocations: 113.8 kB / 0.9674 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.7466, allocations: 32 / 0.9674 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.406e-05/0.7466, allocations: 19.11 kB / 0.9674 GB, free: 6.414 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.7466, allocations: 0 / 0.9674 GB, free: 6.414 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.7466, allocations: 7.938 kB / 0.9674 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.7467, allocations: 4.078 kB / 0.9674 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.747, allocations: 338.8 kB / 0.9677 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.747, allocations: 0 / 0.9677 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.267e-05/0.747, allocations: 3.938 kB / 0.9677 GB, free: 6.008 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.747, allocations: 3.938 kB / 0.9677 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.747, allocations: 4.031 kB / 0.9677 GB, free: 6 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.747, allocations: 0 / 0.9677 GB, free: 6 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.747, allocations: 4 kB / 0.9677 GB, free: 5.996 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.1e-05/0.7471, allocations: 61.06 kB / 0.9678 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.7471, allocations: 89 kB / 0.9679 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.7471, allocations: 0 / 0.9679 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.7472, allocations: 3.984 kB / 0.9679 GB, free: 5.809 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.7472, allocations: 4.031 kB / 0.9679 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-06/0.7472, allocations: 4 kB / 0.9679 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.51e-05/0.7473, allocations: 83.22 kB / 0.968 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.7473, allocations: 0 / 0.968 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001995/0.7475, allocations: 8 kB / 0.968 GB, free: 5.711 MB / 0.7012 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.000111/0.7476, allocations: 103.2 kB / 0.9681 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 9.501e-05/0.7477, allocations: 11.94 kB / 0.9681 GB, free: 5.59 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7477, allocations: 4.188 kB / 0.9681 GB, free: 5.586 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 7.334e-06/0.7477, allocations: 4 kB / 0.9681 GB, free: 5.582 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.748, allocations: 7.953 kB / 0.9681 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.7483, allocations: 126.3 kB / 0.9682 GB, free: 5.426 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.7486, allocations: 0.6768 MB / 0.9689 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 4.927e-05/0.7486, allocations: 12 kB / 0.9689 GB, free: 4.711 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.7487, allocations: 7.438 kB / 0.9689 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of SimCode: time 3.51e-07/0.7487, allocations: 0 / 0.9689 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of Templates: time 0.003048/0.7517, allocations: 0.5145 MB / 0.9694 GB, free: 4.227 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.507205015048385]