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.001914/0.001914, allocations: 112.9 kB / 17.12 MB, free: 6.008 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.002159/0.002159, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.562/1.562, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.011/1.011, allocations: 150 MB / 459.5 MB, free: 5.258 MB / 350.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.002045/0.002045, allocations: 71 kB / 0.6361 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1851, allocations: 89.13 MB / 0.7231 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002579/0.1877, allocations: 1.287 MB / 0.7244 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.6162/0.804, allocations: 150.3 MB / 0.8711 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.663e-05/0.804, allocations: 2.375 kB / 0.8711 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 2.338e-05/0.804, allocations: 3.094 kB / 0.8711 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 7.187e-05/0.8041, allocations: 7.828 kB / 0.8711 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.000595/0.8047, allocations: 98.12 kB / 0.8712 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 9.528e-05/0.8048, allocations: 32.98 kB / 0.8713 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.8048, allocations: 4.344 kB / 0.8713 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 5.305e-05/0.8049, allocations: 17.66 kB / 0.8713 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.264e-05/0.8049, allocations: 16.72 kB / 0.8713 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.805, allocations: 4.219 kB / 0.8713 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000292/0.8052, allocations: 79.36 kB / 0.8714 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.8053, allocations: 7.641 kB / 0.8714 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.8053, allocations: 20.06 kB / 0.8714 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.8055, allocations: 62.59 kB / 0.8715 GB, free: 3.059 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.8055, allocations: 3.984 kB / 0.8715 GB, free: 3.059 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8055, allocations: 0.6562 kB / 0.8715 GB, free: 3.059 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.8055, allocations: 0.7812 kB / 0.8715 GB, free: 3.059 MB / 0.67 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.0006509/0.8061, allocations: 357.2 kB / 0.8718 GB, free: 18.7 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.8062, allocations: 13.38 kB / 0.8718 GB, free: 18.7 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.8062, allocations: 36.28 kB / 0.8719 GB, free: 18.66 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.8064, allocations: 12.31 kB / 0.8719 GB, free: 18.66 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.8066, allocations: 164.5 kB / 0.872 GB, free: 18.46 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.8066, allocations: 9.25 kB / 0.872 GB, free: 18.46 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.8066, allocations: 8.359 kB / 0.8721 GB, free: 18.45 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.8067, allocations: 51.45 kB / 0.8721 GB, free: 18.42 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.8067, allocations: 0.9062 kB / 0.8721 GB, free: 18.42 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.8068, allocations: 1.031 kB / 0.8721 GB, free: 18.42 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.8068, allocations: 2.266 kB / 0.8721 GB, free: 18.42 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.251e-05/0.8068, allocations: 20.16 kB / 0.8721 GB, free: 18.42 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.807, allocations: 175 kB / 0.8723 GB, free: 18.23 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 9.111e-05/0.8071, allocations: 44.78 kB / 0.8723 GB, free: 18.2 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.8071, allocations: 18.06 kB / 0.8724 GB, free: 18.2 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.8071, allocations: 1.875 kB / 0.8724 GB, free: 18.2 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.8072, allocations: 39.31 kB / 0.8724 GB, free: 18.16 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.8072, allocations: 0 / 0.8724 GB, free: 18.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.0008102/0.808, allocations: 365.1 kB / 0.8727 GB, free: 17.91 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.808, allocations: 52.34 kB / 0.8728 GB, free: 17.84 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.743e-05/0.8081, allocations: 99.53 kB / 0.8729 GB, free: 17.75 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.8081, allocations: 26.61 kB / 0.8729 GB, free: 17.71 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.914e-05/0.8081, allocations: 90.2 kB / 0.873 GB, free: 17.63 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.8082, allocations: 46.33 kB / 0.873 GB, free: 17.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.8082, allocations: 29.2 kB / 0.8731 GB, free: 17.58 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.8084, allocations: 323 kB / 0.8734 GB, free: 17.27 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/0.8084, allocations: 16.52 kB / 0.8734 GB, free: 17.27 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.333e-05/0.8085, allocations: 39.33 kB / 0.8734 GB, free: 17.25 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.511e-05/0.8086, allocations: 60.83 kB / 0.8735 GB, free: 17.23 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.8086, allocations: 3.094 kB / 0.8735 GB, free: 17.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001473/0.8087, allocations: 96.97 kB / 0.8736 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.8087, allocations: 5.938 kB / 0.8736 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.8087, allocations: 0 / 0.8736 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.8087, allocations: 3.359 kB / 0.8736 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.8089, allocations: 23.59 kB / 0.8736 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.8089, allocations: 2.844 kB / 0.8736 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.46e-05/0.8089, allocations: 1.969 kB / 0.8736 GB, free: 17.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.8089, allocations: 8.25 kB / 0.8736 GB, free: 17.2 MB / 0.6856 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.518e-05/0.809, allocations: 121.5 kB / 0.8737 GB, free: 17.08 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.809, allocations: 8.656 kB / 0.8738 GB, free: 17.08 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.8091, allocations: 11.66 kB / 0.8738 GB, free: 17.08 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.8091, allocations: 2.031 kB / 0.8738 GB, free: 17.08 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.8091, allocations: 1.188 kB / 0.8738 GB, free: 17.08 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.8091, allocations: 1.219 kB / 0.8738 GB, free: 17.08 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.8092, allocations: 171.4 kB / 0.8739 GB, free: 16.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.8092, allocations: 4.156 kB / 0.8739 GB, free: 16.89 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.8094, allocations: 22.08 kB / 0.874 GB, free: 16.89 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.8094, allocations: 1.375 kB / 0.874 GB, free: 16.89 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.8094, allocations: 2.031 kB / 0.874 GB, free: 16.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.8094, allocations: 1.594 kB / 0.874 GB, free: 16.89 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8094, allocations: 1.031 kB / 0.874 GB, free: 16.89 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.8096, allocations: 143.2 kB / 0.8741 GB, free: 16.82 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.8097, allocations: 90.08 kB / 0.8742 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.8097, allocations: 3.625 kB / 0.8742 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.802e-05/0.8098, allocations: 4.109 kB / 0.8742 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.8098, allocations: 10.19 kB / 0.8742 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.8098, allocations: 2.969 kB / 0.8742 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.117e-05/0.8099, allocations: 77.73 kB / 0.8743 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8099, allocations: 0.9375 kB / 0.8743 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000208/0.8101, allocations: 19.97 kB / 0.8743 GB, free: 16.64 MB / 0.6856 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.0005267/0.8106, allocations: 0.6711 MB / 0.875 GB, free: 16.05 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.8107, allocations: 56.31 kB / 0.875 GB, free: 16.05 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8107, allocations: 0 / 0.875 GB, free: 16.05 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 4.546e-05/0.8108, allocations: 31.56 kB / 0.875 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.811, allocations: 9.172 kB / 0.875 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.8126, allocations: 1.443 MB / 0.8765 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.8129, allocations: 0.6932 MB / 0.8771 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 6.023e-05/0.813, allocations: 11.38 kB / 0.8771 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.813, allocations: 16.47 kB / 0.8772 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of SimCode: time 3.3e-07/0.813, allocations: 1.094 kB / 0.8772 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.8407, allocations: 1.703 MB / 0.8788 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.145/8.986, allocations: 7.797 kB / 0.8788 GB, free: 13.8 MB / 0.6856 GB " [Timeout remaining time 651] (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: 13.09754976304248] Failed to read output from testmodel.py, exit status != 0: 9.055540180997923 9.080117828 8.27022043 Calling exit ...