Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.001332/0.001332, allocations: 104.3 kB / 20.45 MB, free: 1.383 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.001484/0.001484, allocations: 206.5 kB / 23.74 MB, free: 4.543 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9634/0.9634, allocations: 149.9 MB / 463.8 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: IBPSA 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.003202/0.003202, allocations: 62.41 kB / 0.6423 GB, free: 9.633 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2189, allocations: 89.17 MB / 0.7293 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.003585/0.2225, allocations: 1.292 MB / 0.7306 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6128/0.8353, allocations: 129 MB / 0.8566 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.8354, allocations: 0 / 0.8566 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.8354, allocations: 7.984 kB / 0.8566 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.185e-05/0.8355, allocations: 3.938 kB / 0.8566 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.836, allocations: 94.66 kB / 0.8567 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.8361, allocations: 31.55 kB / 0.8568 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.8362, allocations: 2.906 kB / 0.8568 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 6.485e-05/0.8362, allocations: 20.22 kB / 0.8568 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.182e-05/0.8363, allocations: 13.11 kB / 0.8568 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.8363, allocations: 1.969 kB / 0.8568 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.8366, allocations: 87.05 kB / 0.8569 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.8366, allocations: 9.766 kB / 0.8569 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.8367, allocations: 15.45 kB / 0.8569 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.8368, allocations: 62.59 kB / 0.857 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.8369, allocations: 2.688 kB / 0.857 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8369, allocations: 0 / 0.857 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.104e-05/0.8369, allocations: 0 / 0.857 GB, free: 1.543 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004532/0.8373, allocations: 280.8 kB / 0.8572 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.8374, allocations: 10.5 kB / 0.8572 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.8376, allocations: 10.7 kB / 0.8572 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.8378, allocations: 108.9 kB / 0.8573 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.8378, allocations: 10.66 kB / 0.8574 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.8378, allocations: 2.75 kB / 0.8574 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.838, allocations: 132.2 kB / 0.8575 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.838, allocations: 0 / 0.8575 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.8381, allocations: 0 / 0.8575 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.8381, allocations: 3.938 kB / 0.8575 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.66e-05/0.8381, allocations: 15.95 kB / 0.8575 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.8383, allocations: 109.5 kB / 0.8576 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 9.953e-05/0.8384, allocations: 45.16 kB / 0.8577 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.8384, allocations: 23.08 kB / 0.8577 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.8384, allocations: 6.828 kB / 0.8577 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.8385, allocations: 34.56 kB / 0.8577 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.8385, allocations: 6.125 kB / 0.8577 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.0007284/0.8392, allocations: 294.9 kB / 0.858 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.114e-05/0.8393, allocations: 53.84 kB / 0.8581 GB, free: 448 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.061e-05/0.8394, allocations: 96.56 kB / 0.8581 GB, free: 344 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.8394, allocations: 31.2 kB / 0.8582 GB, free: 308 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.709e-05/0.8394, allocations: 86.7 kB / 0.8583 GB, free: 220 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.8395, allocations: 38.61 kB / 0.8583 GB, free: 184 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.8395, allocations: 28.22 kB / 0.8583 GB, free: 160 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.8397, allocations: 322.8 kB / 0.8586 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.562e-05/0.8397, allocations: 14.69 kB / 0.8586 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.389e-05/0.8398, allocations: 44.89 kB / 0.8587 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.8399, allocations: 62.98 kB / 0.8587 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.8399, allocations: 0 / 0.8587 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001596/0.8401, allocations: 97.47 kB / 0.8588 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.8401, allocations: 11.34 kB / 0.8589 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8401, allocations: 0 / 0.8589 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.8401, allocations: 4 kB / 0.8589 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.8402, allocations: 23.05 kB / 0.8589 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.8403, allocations: 3.656 kB / 0.8589 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.366e-05/0.8403, allocations: 0 / 0.8589 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.8403, allocations: 11.19 kB / 0.8589 GB, free: 15.67 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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 0.0001042/0.8404, allocations: 127 kB / 0.859 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.8404, allocations: 10.14 kB / 0.859 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/0.8405, allocations: 7.906 kB / 0.859 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.8405, allocations: 2.594 kB / 0.859 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.8405, allocations: 2.938 kB / 0.859 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.8405, allocations: 7.984 kB / 0.859 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.8406, allocations: 113.6 kB / 0.8592 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8406, allocations: 0 / 0.8592 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.8407, allocations: 22.67 kB / 0.8592 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.8407, allocations: 0 / 0.8592 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.8407, allocations: 2.312 kB / 0.8592 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8407, allocations: 0 / 0.8592 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8407, allocations: 0 / 0.8592 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.8409, allocations: 137.2 kB / 0.8593 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.841, allocations: 13.48 kB / 0.8593 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.841, allocations: 8 kB / 0.8593 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.8411, allocations: 2.781 kB / 0.8593 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.8411, allocations: 6.609 kB / 0.8593 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.8411, allocations: 6.531 kB / 0.8593 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.105e-05/0.8412, allocations: 75.28 kB / 0.8594 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.8412, allocations: 0 / 0.8594 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002095/0.8414, allocations: 17.44 kB / 0.8594 GB, free: 15.18 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0001031/0.8415, allocations: 98.64 kB / 0.8595 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.8416, allocations: 52.86 kB / 0.8596 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8416, allocations: 4 kB / 0.8596 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.941e-05/0.8416, allocations: 30.45 kB / 0.8596 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.8419, allocations: 6.219 kB / 0.8596 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006332/0.8425, allocations: 356.4 kB / 0.86 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.36e-05/0.8426, allocations: 72.73 kB / 0.86 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.8426, allocations: 12.97 kB / 0.86 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of SimCode: time 7.72e-07/0.8426, allocations: 0 / 0.86 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of Templates: time 0.002669/0.8453, allocations: 0.8436 MB / 0.8609 GB, free: 13.97 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.756839961279184] Failed to read output from testmodel.py, exit status != 0: 0.8572566588409245 0.87081688 0.030571579 Calling exit ...