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.001563/0.001563, allocations: 119.7 kB / 17.13 MB, free: 5.941 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.001463/0.001463, allocations: 197.2 kB / 20.08 MB, free: 3.012 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.33/1.33, allocations: 225.6 MB / 248.5 MB, free: 3.605 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.002223/0.002223, allocations: 283 kB / 303.6 MB, free: 3.742 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 0.999/0.999, allocations: 180.9 MB / 0.5268 GB, free: 2.668 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.002764/0.002764, allocations: 99.83 kB / 0.7259 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4466, allocations: 94.15 MB / 0.8179 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1657/0.6123, allocations: 148.3 MB / 0.9627 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.000143/0.6124, allocations: 55.86 kB / 0.9627 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.6124, allocations: 4 kB / 0.9627 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 9.857e-05/0.6125, allocations: 3.938 kB / 0.9627 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 7.375e-05/0.6126, allocations: 15.92 kB / 0.9627 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.6131, allocations: 107.6 kB / 0.9628 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 8.946e-05/0.6132, allocations: 35.84 kB / 0.9629 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.897e-05/0.6132, allocations: 7.984 kB / 0.9629 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 3.42e-05/0.6132, allocations: 15.94 kB / 0.9629 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.6133, allocations: 11.97 kB / 0.9629 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.6133, allocations: 4 kB / 0.9629 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002599/0.6136, allocations: 87.72 kB / 0.963 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.057e-05/0.6136, allocations: 11.92 kB / 0.963 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.6136, allocations: 11.92 kB / 0.963 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.6138, allocations: 75.59 kB / 0.9631 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.6138, allocations: 0 / 0.9631 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6138, allocations: 0 / 0.9631 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.6138, allocations: 0 / 0.9631 GB, free: 12.05 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.0004231/0.6142, allocations: 351.4 kB / 0.9634 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.6143, allocations: 11.97 kB / 0.9634 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002125/0.6145, allocations: 16.92 kB / 0.9634 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.6146, allocations: 160.4 kB / 0.9636 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.809e-05/0.6147, allocations: 33.64 kB / 0.9636 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-06/0.6147, allocations: 0 / 0.9636 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.6148, allocations: 49.67 kB / 0.9637 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.6148, allocations: 4 kB / 0.9637 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.6148, allocations: 0 / 0.9637 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.6149, allocations: 0 / 0.9637 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.514e-05/0.6149, allocations: 19.98 kB / 0.9637 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.6153, allocations: 264.8 kB / 0.964 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 4.109e-05/0.6153, allocations: 18.58 kB / 0.964 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.6154, allocations: 4.922 kB / 0.964 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-06/0.6154, allocations: 4 kB / 0.964 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.6154, allocations: 34.56 kB / 0.964 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.6154, allocations: 0 / 0.964 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1): time 0.0001236/0.6155, allocations: 37.62 kB / 0.964 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.6156, allocations: 55.34 kB / 0.9641 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.298e-05/0.6156, allocations: 106 kB / 0.9642 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/0.6157, allocations: 33.64 kB / 0.9642 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.6157, allocations: 95.97 kB / 0.9643 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.634e-06/0.6157, allocations: 4 kB / 0.9643 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.6157, allocations: 13.72 kB / 0.9643 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6159, allocations: 314.8 kB / 0.9646 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.6159, allocations: 7.984 kB / 0.9647 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.6159, allocations: 22.56 kB / 0.9647 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.519e-05/0.616, allocations: 34.52 kB / 0.9647 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.616, allocations: 0 / 0.9647 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.656e-05/0.6161, allocations: 57.62 kB / 0.9648 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.6161, allocations: 4 kB / 0.9648 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.6161, allocations: 0 / 0.9648 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.6161, allocations: 4.094 kB / 0.9648 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.951e-05/0.6161, allocations: 11.98 kB / 0.9648 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.6162, allocations: 4.188 kB / 0.9648 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.08e-05/0.6162, allocations: 7.953 kB / 0.9648 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.6162, allocations: 11.94 kB / 0.9648 GB, free: 10.05 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 7.817e-05/0.6163, allocations: 109.8 kB / 0.9649 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.6163, allocations: 3.938 kB / 0.9649 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.336e-05/0.6163, allocations: 3.125 kB / 0.9649 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.6163, allocations: 0 / 0.9649 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.6163, allocations: 7.938 kB / 0.9649 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6163, allocations: 4 kB / 0.9649 GB, free: 9.914 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.6166, allocations: 342.8 kB / 0.9653 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6166, allocations: 0 / 0.9653 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.813e-05/0.6166, allocations: 4 kB / 0.9653 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.6166, allocations: 3.938 kB / 0.9653 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-06/0.6166, allocations: 0 / 0.9653 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.6166, allocations: 0 / 0.9653 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6166, allocations: 4.031 kB / 0.9653 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.977e-05/0.6167, allocations: 61.06 kB / 0.9653 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.6167, allocations: 85 kB / 0.9654 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.6168, allocations: 4 kB / 0.9654 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.6168, allocations: 0 / 0.9654 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.6169, allocations: 4 kB / 0.9654 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.6169, allocations: 0 / 0.9654 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.075e-05/0.6169, allocations: 95.23 kB / 0.9655 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.6169, allocations: 0 / 0.9655 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000184/0.6171, allocations: 4 kB / 0.9655 GB, free: 9.223 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 9.841e-05/0.6172, allocations: 99.25 kB / 0.9656 GB, free: 9.117 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 8.199e-05/0.6173, allocations: 19.92 kB / 0.9656 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6173, allocations: 0 / 0.9656 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 4.177e-06/0.6173, allocations: 0 / 0.9656 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.6175, allocations: 10.48 kB / 0.9656 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.6178, allocations: 144.7 kB / 0.9658 GB, free: 8.914 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.6181, allocations: 0.6768 MB / 0.9664 GB, free: 8.211 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.6181, allocations: 7.438 kB / 0.9664 GB, free: 8.203 MB / 0.7012 GB Notification: Performance of SimCode: time 2.8e-07/0.6181, allocations: 0 / 0.9664 GB, free: 8.203 MB / 0.7012 GB Notification: Performance of Templates: time 0.002026/0.6201, allocations: 0.5764 MB / 0.967 GB, free: 7.633 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: 7.9111605861689895] Failed to read output from testmodel.py, exit status != 0: 0.6277750479057431 0.640702411 0.02427698 Calling exit ...