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.001326/0.001326, allocations: 114.8 kB / 19.69 MB, free: 2.047 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.001473/0.001473, allocations: 223.5 kB / 23.01 MB, free: 4.926 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9831/0.9831, allocations: 150 MB / 463.2 MB, free: 10.43 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.002159/0.002159, allocations: 70.59 kB / 0.6413 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2022, allocations: 89.16 MB / 0.7283 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002558/0.2048, allocations: 1.296 MB / 0.7296 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6206/0.8253, allocations: 150.3 MB / 0.8764 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.8254, allocations: 0 / 0.8764 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.886e-05/0.8254, allocations: 7.922 kB / 0.8764 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.527e-05/0.8254, allocations: 3.984 kB / 0.8764 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.8259, allocations: 91.56 kB / 0.8765 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.662e-05/0.826, allocations: 35.8 kB / 0.8765 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.731e-05/0.826, allocations: 4 kB / 0.8765 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.826, allocations: 16.64 kB / 0.8765 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.639e-05/0.8261, allocations: 23.91 kB / 0.8765 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.8261, allocations: 0 / 0.8765 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.8264, allocations: 75.84 kB / 0.8766 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.8264, allocations: 7.969 kB / 0.8766 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.8264, allocations: 15.94 kB / 0.8766 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.8266, allocations: 61.66 kB / 0.8767 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8266, allocations: 2.156 kB / 0.8767 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8266, allocations: 0 / 0.8767 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.8266, allocations: 4 kB / 0.8767 GB, free: 15.44 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.0004132/0.827, allocations: 282.2 kB / 0.877 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.827, allocations: 8.031 kB / 0.877 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.8271, allocations: 42.69 kB / 0.877 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.8273, allocations: 12.92 kB / 0.877 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.33e-05/0.8274, allocations: 102.5 kB / 0.8771 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.8274, allocations: 7.938 kB / 0.8771 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.8274, allocations: 8 kB / 0.8772 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.8275, allocations: 53.66 kB / 0.8772 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.8275, allocations: 4 kB / 0.8772 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.8276, allocations: 7.938 kB / 0.8772 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.8276, allocations: 0 / 0.8772 GB, free: 14.85 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.216e-05/0.8276, allocations: 19.91 kB / 0.8772 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001832/0.8278, allocations: 144.6 kB / 0.8774 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.017e-05/0.8279, allocations: 47.11 kB / 0.8774 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.8279, allocations: 16.84 kB / 0.8774 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.8279, allocations: 4 kB / 0.8774 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.828, allocations: 34.56 kB / 0.8775 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.828, allocations: 0 / 0.8775 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0007099/0.8287, allocations: 292 kB / 0.8777 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.8287, allocations: 55.41 kB / 0.8778 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.388e-05/0.8288, allocations: 101.8 kB / 0.8779 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.8288, allocations: 29.7 kB / 0.8779 GB, free: 14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.8288, allocations: 80.14 kB / 0.878 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.8289, allocations: 43.62 kB / 0.878 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.8289, allocations: 25.72 kB / 0.8781 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.8291, allocations: 322.8 kB / 0.8784 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.39e-05/0.8291, allocations: 16 kB / 0.8784 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/0.8292, allocations: 46.7 kB / 0.8784 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.335e-05/0.8293, allocations: 67.22 kB / 0.8785 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.8293, allocations: 0 / 0.8785 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001345/0.8294, allocations: 93.62 kB / 0.8786 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.8294, allocations: 5.875 kB / 0.8786 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.8294, allocations: 0 / 0.8786 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.8294, allocations: 4 kB / 0.8786 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.8295, allocations: 27.92 kB / 0.8786 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.8295, allocations: 4 kB / 0.8786 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.8296, allocations: 4.625 kB / 0.8786 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.8296, allocations: 4 kB / 0.8786 GB, free: 13.24 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 8.949e-05/0.8297, allocations: 115.8 kB / 0.8787 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.8297, allocations: 11.95 kB / 0.8788 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.8297, allocations: 7.906 kB / 0.8788 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.8297, allocations: 4 kB / 0.8788 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.8297, allocations: 0 / 0.8788 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.8297, allocations: 5.984 kB / 0.8788 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.8299, allocations: 140.7 kB / 0.8789 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8299, allocations: 8 kB / 0.8789 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.83, allocations: 23.92 kB / 0.8789 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.83, allocations: 0 / 0.8789 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.83, allocations: 8 kB / 0.8789 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.83, allocations: 0 / 0.8789 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.83, allocations: 0 / 0.8789 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.8302, allocations: 137 kB / 0.8791 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.8303, allocations: 3.953 kB / 0.8791 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.8303, allocations: 8 kB / 0.8791 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.236e-05/0.8304, allocations: 8.031 kB / 0.8791 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.875e-05/0.8304, allocations: 4 kB / 0.8791 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.8304, allocations: 11.92 kB / 0.8791 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.66e-05/0.8304, allocations: 75.28 kB / 0.8792 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.8304, allocations: 0 / 0.8792 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001966/0.8306, allocations: 19.94 kB / 0.8792 GB, free: 12.59 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.0004775/0.8311, allocations: 0.6754 MB / 0.8799 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.8312, allocations: 52.66 kB / 0.8799 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8312, allocations: 0 / 0.8799 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.289e-05/0.8313, allocations: 28.48 kB / 0.8799 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.8315, allocations: 8.672 kB / 0.8799 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.8331, allocations: 1.448 MB / 0.8814 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.8334, allocations: 0.6962 MB / 0.882 GB, free: 9.551 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.547e-05/0.8334, allocations: 12.66 kB / 0.8821 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.8335, allocations: 15.44 kB / 0.8821 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.8335, allocations: 0 / 0.8821 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.8625, allocations: 1.833 MB / 0.8839 GB, free: 7.836 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.39, allocations: 2.062 kB / 0.8839 GB, free: 7.836 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 16.374392892001197] Failed to read output from testmodel.py, exit status != 0: 12.491653167999175 12.521461304 11.689544942 Calling exit ...