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.001013/0.001013, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001168/0.001168, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9277/0.9277, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.5927/0.5927, allocations: 114 MB / 373.9 MB, free: 8.723 MB / 346.7 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: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.5542 GB, free: 1.754 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.448e-05, allocations: 4.109 kB / 0.5542 GB, free: 1.75 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001816/0.00184, allocations: 1.269 MB / 0.5554 GB, free: 484 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.4016/0.4034, allocations: 129.1 MB / 0.6815 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.4035, allocations: 0 / 0.6815 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.47e-05/0.4035, allocations: 0 / 0.6815 GB, free: 7.145 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-05/0.4036, allocations: 11.25 kB / 0.6815 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.404, allocations: 94.38 kB / 0.6816 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.497e-05/0.404, allocations: 37.59 kB / 0.6816 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.4041, allocations: 1.781 kB / 0.6816 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.868e-05/0.4042, allocations: 23.36 kB / 0.6816 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.15e-05/0.4042, allocations: 17.16 kB / 0.6816 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.4042, allocations: 1.719 kB / 0.6816 GB, free: 7.121 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.4045, allocations: 76.62 kB / 0.6817 GB, free: 7.113 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.4045, allocations: 11.05 kB / 0.6817 GB, free: 7.113 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.4045, allocations: 11.58 kB / 0.6817 GB, free: 7.113 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.4047, allocations: 68.88 kB / 0.6818 GB, free: 7.109 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4047, allocations: 5.703 kB / 0.6818 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4047, allocations: 1.031 kB / 0.6818 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.4047, allocations: 0.5312 kB / 0.6818 GB, free: 7.105 MB / 0.5573 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.0003205/0.405, allocations: 275.7 kB / 0.6821 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.405, allocations: 11.36 kB / 0.6821 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.755e-05/0.4051, allocations: 35.5 kB / 0.6821 GB, free: 6.801 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.4052, allocations: 14.16 kB / 0.6821 GB, free: 6.797 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.046e-05/0.4053, allocations: 106.5 kB / 0.6822 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.4053, allocations: 5.625 kB / 0.6822 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.4053, allocations: 8.562 kB / 0.6822 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.4054, allocations: 135 kB / 0.6824 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.4054, allocations: 0.625 kB / 0.6824 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.4054, allocations: 2.469 kB / 0.6824 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4054, allocations: 1.25 kB / 0.6824 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.693e-05/0.4055, allocations: 16.34 kB / 0.6824 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.4056, allocations: 135.5 kB / 0.6825 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.599e-05/0.4057, allocations: 47.2 kB / 0.6826 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.606e-05/0.4057, allocations: 15.95 kB / 0.6826 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.4057, allocations: 9.438 kB / 0.6826 GB, free: 6.34 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.4057, allocations: 35.34 kB / 0.6826 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.4057, allocations: 8.484 kB / 0.6826 GB, free: 6.293 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.0005919/0.4063, allocations: 296.1 kB / 0.6829 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.4063, allocations: 52.75 kB / 0.683 GB, free: 6.066 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.134e-05/0.4064, allocations: 94.14 kB / 0.683 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.4064, allocations: 30.11 kB / 0.6831 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.967e-06/0.4064, allocations: 80.77 kB / 0.6832 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.4064, allocations: 45.77 kB / 0.6832 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.4065, allocations: 25.06 kB / 0.6832 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.888e-05/0.4065, allocations: 322.2 kB / 0.6835 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.267e-05/0.4065, allocations: 16.39 kB / 0.6835 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.713e-05/0.4066, allocations: 37.19 kB / 0.6836 GB, free: 5.48 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.354e-05/0.4066, allocations: 69.34 kB / 0.6836 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4066, allocations: 0.5312 kB / 0.6836 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001145/0.4068, allocations: 100.9 kB / 0.6837 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.4068, allocations: 5.562 kB / 0.6837 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.4068, allocations: 0.625 kB / 0.6837 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4068, allocations: 1.125 kB / 0.6837 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/0.4069, allocations: 21.28 kB / 0.6838 GB, free: 5.414 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4069, allocations: 7.25 kB / 0.6838 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.881e-05/0.4069, allocations: 4.531 kB / 0.6838 GB, free: 5.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.4069, allocations: 4.047 kB / 0.6838 GB, free: 5.41 MB / 0.5573 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 4.994e-05/0.407, allocations: 120.4 kB / 0.6839 GB, free: 5.289 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.407, allocations: 2.938 kB / 0.6839 GB, free: 5.289 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.407, allocations: 11.53 kB / 0.6839 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.407, allocations: 3.516 kB / 0.6839 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.407, allocations: 0.5 kB / 0.6839 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.407, allocations: 0.5625 kB / 0.6839 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.164e-05/0.4071, allocations: 142.5 kB / 0.6841 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4071, allocations: 4.594 kB / 0.6841 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.524e-05/0.4072, allocations: 23.48 kB / 0.6841 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4072, allocations: 1.812 kB / 0.6841 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.4072, allocations: 1.219 kB / 0.6841 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4072, allocations: 0.5625 kB / 0.6841 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4072, allocations: 0.5625 kB / 0.6841 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.4074, allocations: 142.9 kB / 0.6842 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.4075, allocations: 6.5 kB / 0.6842 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.4075, allocations: 4.625 kB / 0.6842 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.742e-05/0.4075, allocations: 4.953 kB / 0.6842 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.4075, allocations: 9.594 kB / 0.6842 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.4076, allocations: 9.328 kB / 0.6843 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.144e-05/0.4076, allocations: 76.34 kB / 0.6843 GB, free: 4.965 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.4076, allocations: 0.5 kB / 0.6843 GB, free: 4.965 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001467/0.4077, allocations: 15.84 kB / 0.6843 GB, free: 4.965 MB / 0.5573 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.0002695/0.408, allocations: 0.6677 MB / 0.685 GB, free: 4.367 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.4081, allocations: 53.38 kB / 0.685 GB, free: 4.367 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4081, allocations: 1.031 kB / 0.685 GB, free: 4.367 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.81e-05/0.4081, allocations: 29.12 kB / 0.6851 GB, free: 4.363 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.4083, allocations: 13.81 kB / 0.6851 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007919/0.4091, allocations: 1.389 MB / 0.6864 GB, free: 3.164 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.562e-05/0.4092, allocations: 70.09 kB / 0.6865 GB, free: 3.094 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.966e-05/0.4092, allocations: 11.7 kB / 0.6865 GB, free: 3.09 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.4092, allocations: 18.84 kB / 0.6865 GB, free: 3.082 MB / 0.5573 GB Notification: Performance of SimCode: time 6.11e-07/0.4092, allocations: 5.062 kB / 0.6865 GB, free: 3.078 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.4249, allocations: 2.352 MB / 0.6888 GB, free: 2.176 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/7.619, allocations: 13.47 kB / 0.6889 GB, free: 2.172 MB / 0.5573 GB " [Timeout remaining time 652] (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: 10.279116468504071] Failed to read output from testmodel.py, exit status != 0: 7.699973274022341 7.716927326 7.3099928610000005 Calling exit ...