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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 158.5 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.346/1.346, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002432/0.002432, allocations: 236.6 kB / 260 MB, free: 464 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8839/0.8839, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003073/0.003073, allocations: 106.6 kB / 0.6473 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4216, allocations: 95.34 MB / 0.7405 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1573/0.579, allocations: 130 MB / 0.8674 GB, free: 500 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001505/0.5791, allocations: 47.86 kB / 0.8674 GB, free: 452 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.5791, allocations: 0 / 0.8674 GB, free: 452 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.5792, allocations: 3.938 kB / 0.8674 GB, free: 448 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 7.672e-05/0.5793, allocations: 15.92 kB / 0.8674 GB, free: 432 kB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.5798, allocations: 111.5 kB / 0.8675 GB, free: 324 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 8.527e-05/0.5799, allocations: 31.86 kB / 0.8676 GB, free: 292 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.5799, allocations: 11.92 kB / 0.8676 GB, free: 280 kB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.713e-05/0.58, allocations: 11.98 kB / 0.8676 GB, free: 268 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.421e-05/0.5801, allocations: 15.98 kB / 0.8676 GB, free: 252 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.5801, allocations: 0 / 0.8676 GB, free: 252 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002641/0.5803, allocations: 67.73 kB / 0.8677 GB, free: 184 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 5.208e-05/0.5804, allocations: 15.92 kB / 0.8677 GB, free: 168 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.5804, allocations: 12 kB / 0.8677 GB, free: 156 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.5806, allocations: 64.36 kB / 0.8678 GB, free: 96 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.5806, allocations: 0 / 0.8678 GB, free: 96 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5806, allocations: 0 / 0.8678 GB, free: 96 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.778e-06/0.5806, allocations: 0 / 0.8678 GB, free: 96 kB / 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.0004119/0.581, allocations: 270.2 kB / 0.868 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.5811, allocations: 8.75 kB / 0.868 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.5813, allocations: 16.92 kB / 0.868 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.5814, allocations: 114.5 kB / 0.8681 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.743e-05/0.5815, allocations: 63.34 kB / 0.8682 GB, free: 15.57 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.5815, allocations: 3.938 kB / 0.8682 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.5816, allocations: 71.38 kB / 0.8683 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.5817, allocations: 0 / 0.8683 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.5817, allocations: 4 kB / 0.8683 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.5817, allocations: 4 kB / 0.8683 GB, free: 15.47 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.493e-05/0.5817, allocations: 19.98 kB / 0.8683 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.5821, allocations: 208.5 kB / 0.8685 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 4.538e-05/0.5822, allocations: 22.58 kB / 0.8685 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.5822, allocations: 4.859 kB / 0.8685 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.5822, allocations: 4.062 kB / 0.8685 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.5822, allocations: 34.59 kB / 0.8686 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.5822, allocations: 0 / 0.8686 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1): time 0.0001394/0.5824, allocations: 33.64 kB / 0.8686 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.5824, allocations: 55.41 kB / 0.8687 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.5825, allocations: 117.7 kB / 0.8688 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.5825, allocations: 25.7 kB / 0.8688 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.5826, allocations: 88.09 kB / 0.8689 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.935e-06/0.5826, allocations: 8.078 kB / 0.8689 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.5826, allocations: 21.66 kB / 0.8689 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5828, allocations: 318.8 kB / 0.8692 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.5828, allocations: 4 kB / 0.8692 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.095e-05/0.5828, allocations: 22.58 kB / 0.8692 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.868e-05/0.5829, allocations: 34.5 kB / 0.8693 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5829, allocations: 0 / 0.8693 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.209e-05/0.583, allocations: 53.64 kB / 0.8693 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.583, allocations: 11.98 kB / 0.8693 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.583, allocations: 0 / 0.8693 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.583, allocations: 96 / 0.8693 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.5831, allocations: 7.984 kB / 0.8693 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.5831, allocations: 4 kB / 0.8693 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.123e-05/0.5831, allocations: 3.938 kB / 0.8693 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.5831, allocations: 4 kB / 0.8693 GB, free: 14.26 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 9.244e-05/0.5832, allocations: 109.8 kB / 0.8695 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.5833, allocations: 4 kB / 0.8695 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.5833, allocations: 15.23 kB / 0.8695 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.5833, allocations: 0 / 0.8695 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.5833, allocations: 0 / 0.8695 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.5833, allocations: 3.938 kB / 0.8695 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.5835, allocations: 298.4 kB / 0.8698 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5835, allocations: 0 / 0.8698 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-05/0.5836, allocations: 0 / 0.8698 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5836, allocations: 0 / 0.8698 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-06/0.5836, allocations: 3.938 kB / 0.8698 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.5836, allocations: 3.938 kB / 0.8698 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5836, allocations: 256 / 0.8698 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.486e-05/0.5837, allocations: 69.09 kB / 0.8698 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.5837, allocations: 4 kB / 0.8698 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.5837, allocations: 4 kB / 0.8698 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.457e-05/0.5838, allocations: 7.938 kB / 0.8698 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.007e-05/0.5838, allocations: 0 / 0.8698 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.5838, allocations: 0 / 0.8698 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.489e-05/0.5838, allocations: 87.27 kB / 0.8699 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.5838, allocations: 0 / 0.8699 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001926/0.584, allocations: 8 kB / 0.8699 GB, free: 13.58 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.0001058/0.5841, allocations: 103.2 kB / 0.87 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 8.019e-05/0.5842, allocations: 11.94 kB / 0.87 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5842, allocations: 0 / 0.87 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 8.847e-06/0.5842, allocations: 7.984 kB / 0.8701 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.5845, allocations: 7.938 kB / 0.8701 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.5847, allocations: 110.7 kB / 0.8702 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.469e-05/0.5848, allocations: 59.55 kB / 0.8702 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 4.669e-05/0.5848, allocations: 15.92 kB / 0.8702 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.5849, allocations: 12.5 kB / 0.8703 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of SimCode: time 2.81e-07/0.5849, allocations: 0 / 0.8703 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of Templates: time 0.002846/0.5877, allocations: 0.5358 MB / 0.8708 GB, free: 12.71 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.745447353925556] Failed to read output from testmodel.py, exit status != 0: 0.596288250060752 0.611033975 0.027349687 Calling exit ...