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.0007124/0.0007124, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007072/0.0007072, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8265/0.8265, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 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.001376/0.001376, allocations: 244.6 kB / 260.2 MB, free: 13.03 MB / 250.7 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.6325/0.6325, allocations: 138.4 MB / 455.1 MB, free: 30 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 0.6475 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.451e-05/1.566e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.359 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.3284/0.3285, allocations: 130 MB / 0.7745 GB, free: 8.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001149/0.3286, allocations: 63.66 kB / 0.7745 GB, free: 8.758 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.702e-05/0.3286, allocations: 0 / 0.7745 GB, free: 8.758 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.3287, allocations: 0 / 0.7745 GB, free: 8.758 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.569e-05/0.3288, allocations: 23.84 kB / 0.7745 GB, free: 8.734 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.3292, allocations: 103.5 kB / 0.7746 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.865e-05/0.3293, allocations: 35.84 kB / 0.7747 GB, free: 8.598 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.3293, allocations: 4 kB / 0.7747 GB, free: 8.594 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.04e-05/0.3294, allocations: 19.98 kB / 0.7747 GB, free: 8.574 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.95e-05/0.3295, allocations: 15.97 kB / 0.7747 GB, free: 8.559 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.3295, allocations: 0 / 0.7747 GB, free: 8.559 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.3296, allocations: 63.75 kB / 0.7748 GB, free: 8.496 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.185e-05/0.3297, allocations: 15.97 kB / 0.7748 GB, free: 8.48 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.3297, allocations: 7.938 kB / 0.7748 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.3299, allocations: 75.78 kB / 0.7749 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3299, allocations: 0 / 0.7749 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3299, allocations: 0 / 0.7749 GB, free: 8.398 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3299, allocations: 4 kB / 0.7749 GB, free: 8.395 MB / 0.6042 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.0003129/0.3302, allocations: 254.3 kB / 0.7751 GB, free: 8.117 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.3302, allocations: 12.75 kB / 0.7751 GB, free: 8.105 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.3304, allocations: 24 kB / 0.7751 GB, free: 8.086 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.889e-05/0.3305, allocations: 105.7 kB / 0.7752 GB, free: 7.957 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.673e-05/0.3305, allocations: 55.97 kB / 0.7753 GB, free: 7.891 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.3305, allocations: 4.125 kB / 0.7753 GB, free: 7.887 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.3307, allocations: 79.36 kB / 0.7754 GB, free: 7.797 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3307, allocations: 4 kB / 0.7754 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.3307, allocations: 0 / 0.7754 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.3307, allocations: 0 / 0.7754 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.3307, allocations: 19.98 kB / 0.7754 GB, free: 7.773 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.331, allocations: 209.9 kB / 0.7756 GB, free: 7.539 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.522e-05/0.331, allocations: 22.52 kB / 0.7756 GB, free: 7.508 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.331, allocations: 4.859 kB / 0.7756 GB, free: 7.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-06/0.3311, allocations: 0 / 0.7756 GB, free: 7.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.3311, allocations: 34.56 kB / 0.7757 GB, free: 7.457 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 6.82e-07/0.3311, allocations: 0 / 0.7757 GB, free: 7.457 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001065/0.3312, allocations: 45.69 kB / 0.7757 GB, free: 7.406 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.3312, allocations: 52.06 kB / 0.7758 GB, free: 7.344 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.484e-05/0.3313, allocations: 107.3 kB / 0.7759 GB, free: 7.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.3313, allocations: 25.7 kB / 0.7759 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.3313, allocations: 96.02 kB / 0.776 GB, free: 7.102 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.845e-06/0.3313, allocations: 7.953 kB / 0.776 GB, free: 7.094 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.3314, allocations: 13.72 kB / 0.776 GB, free: 7.074 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.3314, allocations: 314.8 kB / 0.7763 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.3314, allocations: 17.8 kB / 0.7763 GB, free: 6.742 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.04e-05/0.3315, allocations: 18.58 kB / 0.7763 GB, free: 6.715 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.166e-05/0.3315, allocations: 34.52 kB / 0.7764 GB, free: 6.672 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3315, allocations: 0 / 0.7764 GB, free: 6.672 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.51e-05/0.3316, allocations: 55.62 kB / 0.7764 GB, free: 6.613 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3316, allocations: 4 kB / 0.7764 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3316, allocations: 0 / 0.7764 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.3316, allocations: 8.094 kB / 0.7764 GB, free: 6.602 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.131e-05/0.3316, allocations: 7.984 kB / 0.7764 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3316, allocations: 0 / 0.7764 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.3316, allocations: 4 kB / 0.7764 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.3317, allocations: 0 / 0.7764 GB, free: 6.59 MB / 0.6042 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 5.914e-05/0.3317, allocations: 118.4 kB / 0.7766 GB, free: 6.465 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.3317, allocations: 0 / 0.7766 GB, free: 6.465 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.455e-05/0.3317, allocations: 3.156 kB / 0.7766 GB, free: 6.461 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3317, allocations: 4 kB / 0.7766 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3317, allocations: 0 / 0.7766 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3317, allocations: 0 / 0.7766 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.3319, allocations: 308.4 kB / 0.7769 GB, free: 6.117 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3319, allocations: 0 / 0.7769 GB, free: 6.117 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.282e-06/0.3319, allocations: 3.984 kB / 0.7769 GB, free: 6.113 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.11e-07/0.3319, allocations: 7.938 kB / 0.7769 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.3319, allocations: 1.125 kB / 0.7769 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.3e-07/0.3319, allocations: 0 / 0.7769 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3319, allocations: 0 / 0.7769 GB, free: 6.105 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.077e-05/0.332, allocations: 65.11 kB / 0.7769 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-06/0.332, allocations: 3.984 kB / 0.7769 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.332, allocations: 64 / 0.7769 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.46e-05/0.332, allocations: 11.98 kB / 0.7769 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.175e-05/0.332, allocations: 0 / 0.7769 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.332, allocations: 5.375 kB / 0.7769 GB, free: 6.004 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.902e-05/0.3321, allocations: 87.28 kB / 0.777 GB, free: 5.918 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.3321, allocations: 0 / 0.777 GB, free: 5.918 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000122/0.3322, allocations: 4 kB / 0.777 GB, free: 5.914 MB / 0.6042 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 7.018e-05/0.3323, allocations: 99.23 kB / 0.7771 GB, free: 5.805 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.589e-05/0.3323, allocations: 20.06 kB / 0.7772 GB, free: 5.785 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3323, allocations: 4.062 kB / 0.7772 GB, free: 5.781 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.3323, allocations: 0 / 0.7772 GB, free: 5.781 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.3325, allocations: 5.531 kB / 0.7772 GB, free: 5.777 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002191/0.3327, allocations: 135.9 kB / 0.7773 GB, free: 5.617 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.801e-05/0.3328, allocations: 69.81 kB / 0.7774 GB, free: 5.531 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.3328, allocations: 8.5 kB / 0.7774 GB, free: 5.527 MB / 0.6042 GB Notification: Performance of SimCode: time 4.11e-07/0.3328, allocations: 0 / 0.7774 GB, free: 5.527 MB / 0.6042 GB Notification: Performance of Templates: time 0.001347/0.3341, allocations: 0.5895 MB / 0.7779 GB, free: 4.949 MB / 0.6042 GB " [Timeout remaining time 660] 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: 5.197615071199834] Failed to read output from testmodel.py, exit status != 0: 0.33900445979088545 0.346757755 0.015314731000000002 Calling exit ...