Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.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.001366/0.001366, allocations: 110.2 kB / 19.58 MB, free: 2.34 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.001572/0.001572, allocations: 217.1 kB / 22.87 MB, free: 5.617 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.521/1.521, allocations: 230.5 MB / 256.5 MB, free: 8.125 MB / 206.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.004113/0.004113, allocations: 291.2 kB / 313.2 MB, free: 2.906 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.256/1.256, allocations: 180.8 MB / 0.5376 GB, free: 12.96 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.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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion") [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.002962/0.002962, allocations: 94.41 kB / 0.7405 GB, free: 27.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.185, allocations: 95.39 MB / 0.8337 GB, free: 8.039 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2033/0.3883, allocations: 149.6 MB / 0.9797 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002465/0.3886, allocations: 55.78 kB / 0.9798 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.3886, allocations: 0 / 0.9798 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.3887, allocations: 8 kB / 0.9798 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.3889, allocations: 11.92 kB / 0.9798 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.3902, allocations: 220.7 kB / 0.98 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.3904, allocations: 35.86 kB / 0.98 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.3904, allocations: 0 / 0.98 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.052e-05/0.3905, allocations: 19.92 kB / 0.9801 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.3906, allocations: 11.98 kB / 0.9801 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.3906, allocations: 3.938 kB / 0.9801 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006792/0.3913, allocations: 171.4 kB / 0.9802 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.3914, allocations: 11.97 kB / 0.9803 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.3914, allocations: 7.938 kB / 0.9803 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003821/0.3918, allocations: 107.6 kB / 0.9804 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.3918, allocations: 4 kB / 0.9804 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/0.3918, allocations: 0 / 0.9804 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3918, allocations: 0 / 0.9804 GB, free: 1.238 MB / 0.7169 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.0005831/0.3924, allocations: 270.3 kB / 0.9806 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.3924, allocations: 9.344 kB / 0.9806 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000529/0.393, allocations: 24.91 kB / 0.9807 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.3931, allocations: 114.5 kB / 0.9808 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.3932, allocations: 55.34 kB / 0.9808 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.3932, allocations: 0 / 0.9808 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.3935, allocations: 71.39 kB / 0.9809 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3935, allocations: 0 / 0.9809 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.3935, allocations: 4 kB / 0.9809 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.3935, allocations: 11.92 kB / 0.9809 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.665e-05/0.3936, allocations: 19.98 kB / 0.9809 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.3942, allocations: 224 kB / 0.9811 GB, free: 340 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.3943, allocations: 26.56 kB / 0.9812 GB, free: 304 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.3943, allocations: 12.91 kB / 0.9812 GB, free: 288 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/0.3945, allocations: 20 kB / 0.9812 GB, free: 268 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/0.3946, allocations: 38.5 kB / 0.9812 GB, free: 220 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.3946, allocations: 0 / 0.9812 GB, free: 220 kB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000388/0.395, allocations: 45.69 kB / 0.9813 GB, free: 168 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.395, allocations: 59.39 kB / 0.9813 GB, free: 96 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4245/0.8195, allocations: 100.7 kB / 0.9814 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.8195, allocations: 26.23 kB / 0.9814 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.8196, allocations: 87.62 kB / 0.9815 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/0.8196, allocations: 11 kB / 0.9815 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.8196, allocations: 16.8 kB / 0.9816 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.716e-05/0.8197, allocations: 317.9 kB / 0.9819 GB, free: 153 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.8197, allocations: 4.734 kB / 0.9819 GB, free: 153 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/0.8197, allocations: 26.7 kB / 0.9819 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.192e-05/0.8198, allocations: 32.38 kB / 0.9819 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8198, allocations: 0 / 0.9819 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001055/0.8199, allocations: 57.31 kB / 0.982 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.8199, allocations: 6.094 kB / 0.982 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.8199, allocations: 4.688 kB / 0.982 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.8199, allocations: 1.453 kB / 0.982 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.441e-05/0.82, allocations: 6.125 kB / 0.982 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.82, allocations: 7.453 kB / 0.982 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.8201, allocations: 1.688 kB / 0.982 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.8201, allocations: 1.75 kB / 0.982 GB, free: 152.9 MB / 0.7169 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 4.94e-05/0.8201, allocations: 110 kB / 0.9821 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.8202, allocations: 5.875 kB / 0.9821 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.146e-05/0.8202, allocations: 13.66 kB / 0.9821 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.8202, allocations: 0.9062 kB / 0.9821 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8202, allocations: 3.375 kB / 0.9821 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8202, allocations: 1.25 kB / 0.9821 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.8204, allocations: 331.8 kB / 0.9825 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.8204, allocations: 1.344 kB / 0.9825 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.8204, allocations: 8.516 kB / 0.9825 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.8205, allocations: 0.8125 kB / 0.9825 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.8205, allocations: 0.7812 kB / 0.9825 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8205, allocations: 5.953 kB / 0.9825 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8205, allocations: 1.672 kB / 0.9825 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.846e-05/0.8205, allocations: 78.7 kB / 0.9825 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-06/0.8205, allocations: 5.828 kB / 0.9826 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.8206, allocations: 1.484 kB / 0.9826 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.573e-05/0.8207, allocations: 4.062 kB / 0.9826 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.8207, allocations: 1.75 kB / 0.9826 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.8207, allocations: 2.344 kB / 0.9826 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.764e-05/0.8207, allocations: 88.67 kB / 0.9826 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8207, allocations: 2.562 kB / 0.9826 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002249/0.8209, allocations: 7.312 kB / 0.9827 GB, free: 152.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001226/0.821, allocations: 100.1 kB / 0.9827 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.8212, allocations: 21.86 kB / 0.9828 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.8212, allocations: 0 / 0.9828 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.297e-05/0.8212, allocations: 4.266 kB / 0.9828 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.8214, allocations: 11.23 kB / 0.9828 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.8217, allocations: 127.6 kB / 0.9829 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.916e-05/0.8217, allocations: 60.09 kB / 0.983 GB, free: 152 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.821e-05/0.8218, allocations: 5.969 kB / 0.983 GB, free: 152 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.8218, allocations: 10.05 kB / 0.983 GB, free: 152 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.8218, allocations: 3.344 kB / 0.983 GB, free: 152 MB / 0.7169 GB Notification: Performance of Templates: time 0.003175/0.825, allocations: 0.6007 MB / 0.9836 GB, free: 151.9 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.014049359997443] Failed to read output from testmodel.py, exit status != 0: 0.8329556499957107 0.854161777 0.45710861799999997 Calling exit ...