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.001383/0.001383, allocations: 117.8 kB / 19.7 MB, free: 2.039 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.001595/0.001595, allocations: 223 kB / 23.01 MB, free: 4.938 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.9726/0.9726, allocations: 150 MB / 463.2 MB, free: 10.54 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: "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [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.003227/0.003227, allocations: 70.23 kB / 0.6412 GB, free: 10.54 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1904, allocations: 89.17 MB / 0.7283 GB, free: 1.418 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002717/0.1931, allocations: 1.289 MB / 0.7296 GB, free: 124 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.562/0.755, allocations: 150.3 MB / 0.8764 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.7551, allocations: 0 / 0.8764 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.7551, allocations: 0 / 0.8764 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.7552, allocations: 15.91 kB / 0.8764 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.7556, allocations: 100.3 kB / 0.8765 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.789e-05/0.7557, allocations: 31.92 kB / 0.8765 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.878e-05/0.7557, allocations: 0 / 0.8765 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.292e-05/0.7558, allocations: 23.91 kB / 0.8765 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.943e-05/0.7558, allocations: 7.938 kB / 0.8765 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.7558, allocations: 4 kB / 0.8765 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.7561, allocations: 91.75 kB / 0.8766 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.7561, allocations: 0 / 0.8766 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.7562, allocations: 22.08 kB / 0.8767 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.7563, allocations: 69.64 kB / 0.8767 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.7563, allocations: 0 / 0.8767 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7563, allocations: 0 / 0.8767 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.7563, allocations: 0 / 0.8767 GB, free: 15.59 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.0004096/0.7567, allocations: 282.2 kB / 0.877 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.7568, allocations: 8.031 kB / 0.877 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.7568, allocations: 34.75 kB / 0.877 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.757, allocations: 16.92 kB / 0.877 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.347e-05/0.7571, allocations: 106.5 kB / 0.8771 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.7571, allocations: 3.938 kB / 0.8771 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.7571, allocations: 8 kB / 0.8772 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.7573, allocations: 53.61 kB / 0.8772 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.7573, allocations: 0.5 kB / 0.8772 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.7573, allocations: 4 kB / 0.8772 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.7573, allocations: 0 / 0.8772 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.813e-05/0.7573, allocations: 15.98 kB / 0.8772 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001767/0.7575, allocations: 144.6 kB / 0.8774 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.7576, allocations: 47.81 kB / 0.8774 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.7577, allocations: 20.78 kB / 0.8774 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.7577, allocations: 0 / 0.8774 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.7577, allocations: 34.56 kB / 0.8775 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.7577, allocations: 3.938 kB / 0.8775 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0007543/0.7585, allocations: 300.9 kB / 0.8778 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.7585, allocations: 51.41 kB / 0.8778 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.565e-05/0.7586, allocations: 97.84 kB / 0.8779 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.7586, allocations: 29.7 kB / 0.8779 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.7586, allocations: 80.14 kB / 0.878 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.7587, allocations: 39.62 kB / 0.878 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.7587, allocations: 25.72 kB / 0.8781 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.7589, allocations: 326.9 kB / 0.8784 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.938e-05/0.7589, allocations: 19.98 kB / 0.8784 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.83e-05/0.759, allocations: 41.64 kB / 0.8784 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.045e-05/0.7591, allocations: 61.69 kB / 0.8785 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.7591, allocations: 0 / 0.8785 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001416/0.7592, allocations: 95.22 kB / 0.8786 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.7592, allocations: 4 kB / 0.8786 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.7592, allocations: 0 / 0.8786 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.7592, allocations: 8 kB / 0.8786 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.7593, allocations: 20.48 kB / 0.8786 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.7594, allocations: 0 / 0.8786 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.685e-05/0.7594, allocations: 11.94 kB / 0.8786 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.7594, allocations: 0.5 kB / 0.8786 GB, free: 13.41 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.133e-05/0.7595, allocations: 123.7 kB / 0.8787 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.7595, allocations: 7.953 kB / 0.8788 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.7595, allocations: 11.91 kB / 0.8788 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.7595, allocations: 0 / 0.8788 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.7595, allocations: 8 kB / 0.8788 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.7596, allocations: 3.984 kB / 0.8788 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.7597, allocations: 141.9 kB / 0.8789 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.7597, allocations: 0 / 0.8789 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.7598, allocations: 23.98 kB / 0.8789 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7598, allocations: 0 / 0.8789 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.7598, allocations: 4 kB / 0.8789 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7598, allocations: 0 / 0.8789 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.7598, allocations: 4 kB / 0.8789 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.76, allocations: 134.5 kB / 0.8791 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.7601, allocations: 16.08 kB / 0.8791 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.7601, allocations: 4.875 kB / 0.8791 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.962e-05/0.7602, allocations: 3.984 kB / 0.8791 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.7602, allocations: 11.98 kB / 0.8791 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.7602, allocations: 0 / 0.8791 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.843e-05/0.7602, allocations: 83.27 kB / 0.8792 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.7602, allocations: 0 / 0.8792 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001992/0.7604, allocations: 20.03 kB / 0.8792 GB, free: 12.75 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.0005005/0.7609, allocations: 0.6747 MB / 0.8799 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.7611, allocations: 56.5 kB / 0.8799 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7611, allocations: 0 / 0.8799 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.903e-05/0.7611, allocations: 20 kB / 0.8799 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.7614, allocations: 21.38 kB / 0.88 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.7629, allocations: 1.439 MB / 0.8814 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.7632, allocations: 0.6885 MB / 0.882 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.59e-05/0.7632, allocations: 8.672 kB / 0.882 GB, free: 9.719 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.06e-05/0.7633, allocations: 23.42 kB / 0.8821 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of SimCode: time 4.21e-07/0.7633, allocations: 0 / 0.8821 GB, free: 9.695 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.7934, allocations: 1.829 MB / 0.8839 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.18, allocations: 5.156 kB / 0.8839 GB, free: 8.004 MB / 0.6544 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.982115445891395] Failed to read output from testmodel.py, exit status != 0: 12.290507135912776 12.306199105 11.546427906 Calling exit ...