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.001514/0.001514, allocations: 119 kB / 19.69 MB, free: 2.199 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.001748/0.001748, allocations: 224.2 kB / 23.01 MB, free: 5.047 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.977 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 1.003/1.003, allocations: 150 MB / 463.1 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 178] 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.002965/0.002965, allocations: 67.77 kB / 0.6417 GB, free: 9.887 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2607, allocations: 89.17 MB / 0.7288 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.003031/0.2637, allocations: 1.29 MB / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.7461/1.01, allocations: 150.3 MB / 0.8768 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/1.01, allocations: 3.938 kB / 0.8768 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/1.01, allocations: 0 / 0.8768 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.956e-05/1.01, allocations: 11.92 kB / 0.8769 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/1.01, allocations: 87.56 kB / 0.8769 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.483e-05/1.01, allocations: 35.92 kB / 0.877 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.358e-05/1.01, allocations: 0 / 0.877 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.428e-05/1.01, allocations: 23.91 kB / 0.877 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/1.011, allocations: 11.94 kB / 0.877 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/1.011, allocations: 4 kB / 0.877 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/1.011, allocations: 87.75 kB / 0.8771 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/1.011, allocations: 7.984 kB / 0.8771 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/1.011, allocations: 15.94 kB / 0.8771 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/1.011, allocations: 66.2 kB / 0.8772 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/1.011, allocations: 0 / 0.8772 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of FrontEnd: time 8.42e-07/1.011, allocations: 0 / 0.8772 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.478e-06/1.011, allocations: 2.156 kB / 0.8772 GB, free: 15.16 MB / 0.6544 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.0003641/1.011, allocations: 286.2 kB / 0.8775 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/1.011, allocations: 8.031 kB / 0.8775 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/1.012, allocations: 12.92 kB / 0.8775 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.509e-05/1.012, allocations: 106.7 kB / 0.8776 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/1.012, allocations: 3.938 kB / 0.8776 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/1.012, allocations: 8 kB / 0.8776 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/1.012, allocations: 49.67 kB / 0.8776 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/1.012, allocations: 4 kB / 0.8776 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/1.012, allocations: 0.625 kB / 0.8776 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/1.012, allocations: 0 / 0.8776 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.581e-05/1.012, allocations: 23.92 kB / 0.8777 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/1.012, allocations: 136.7 kB / 0.8778 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.706e-05/1.012, allocations: 46.5 kB / 0.8778 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/1.012, allocations: 17.72 kB / 0.8779 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/1.012, allocations: 3.984 kB / 0.8779 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/1.012, allocations: 38.56 kB / 0.8779 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/1.012, allocations: 0 / 0.8779 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0007212/1.013, allocations: 301.8 kB / 0.8782 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/1.013, allocations: 51.41 kB / 0.8782 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/1.013, allocations: 89.86 kB / 0.8783 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/1.013, allocations: 37.83 kB / 0.8784 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/1.013, allocations: 80.14 kB / 0.8784 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/1.013, allocations: 39.62 kB / 0.8785 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/1.013, allocations: 29.7 kB / 0.8785 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.013, allocations: 318.8 kB / 0.8788 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-05/1.013, allocations: 19.98 kB / 0.8788 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/1.013, allocations: 41.69 kB / 0.8789 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.196e-05/1.014, allocations: 59.38 kB / 0.8789 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/1.014, allocations: 0 / 0.8789 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001491/1.014, allocations: 99.48 kB / 0.879 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/1.014, allocations: 8 kB / 0.879 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.014, allocations: 4.438 kB / 0.879 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/1.014, allocations: 0 / 0.879 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/1.014, allocations: 27.98 kB / 0.879 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/1.014, allocations: 0 / 0.879 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.96e-05/1.014, allocations: 1.938 kB / 0.879 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/1.014, allocations: 4 kB / 0.8791 GB, free: 13.03 MB / 0.6544 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 9.495e-05/1.014, allocations: 135.6 kB / 0.8792 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/1.014, allocations: 3.953 kB / 0.8792 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/1.014, allocations: 19.84 kB / 0.8792 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/1.014, allocations: 0 / 0.8792 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/1.014, allocations: 0 / 0.8792 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/1.014, allocations: 0 / 0.8792 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/1.014, allocations: 144.7 kB / 0.8793 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.014, allocations: 0 / 0.8793 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/1.014, allocations: 19.98 kB / 0.8794 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/1.014, allocations: 8 kB / 0.8794 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/1.014, allocations: 4 kB / 0.8794 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/1.014, allocations: 0 / 0.8794 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.014, allocations: 0 / 0.8794 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/1.015, allocations: 143.2 kB / 0.8795 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/1.015, allocations: 11.98 kB / 0.8795 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/1.015, allocations: 0.625 kB / 0.8795 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-05/1.015, allocations: 8 kB / 0.8795 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/1.015, allocations: 7.984 kB / 0.8795 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/1.015, allocations: 4 kB / 0.8795 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.02e-05/1.015, allocations: 75.28 kB / 0.8796 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/1.015, allocations: 0 / 0.8796 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001924/1.015, allocations: 16 kB / 0.8796 GB, free: 12.37 MB / 0.6544 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.0001004/1.015, allocations: 107.2 kB / 0.8797 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001253/1.015, allocations: 51.92 kB / 0.8798 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.015, allocations: 4.094 kB / 0.8798 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.023e-05/1.015, allocations: 27.92 kB / 0.8798 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/1.015, allocations: 15.69 kB / 0.8798 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006098/1.016, allocations: 317.6 kB / 0.8801 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/1.016, allocations: 0.6845 MB / 0.8808 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.823e-05/1.016, allocations: 12.66 kB / 0.8808 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/1.016, allocations: 15.44 kB / 0.8808 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/1.016, allocations: 0 / 0.8808 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.003018/1.019, allocations: 0.6941 MB / 0.8815 GB, free: 10.41 MB / 0.6544 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: 6.924303592182696] Failed to read output from testmodel.py, exit status != 0: 1.0295212771743536 1.043973842 0.029772633000000003 Calling exit ...