Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.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.001843/0.001843, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001908/0.001908, allocations: 217.5 kB / 22.99 MB, free: 4.977 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9975/0.9975, allocations: 149.9 MB / 463 MB, free: 10.34 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.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",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.002379/0.002379, allocations: 67.45 kB / 0.641 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1825, allocations: 89.17 MB / 0.7281 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.003092/0.1856, allocations: 1.33 MB / 0.7294 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5376/0.7232, allocations: 130 MB / 0.8564 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.539e-05/0.7232, allocations: 0 / 0.8564 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 5.381e-05/0.7233, allocations: 7.922 kB / 0.8564 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.7234, allocations: 14.62 kB / 0.8564 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.7249, allocations: 327 kB / 0.8567 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.725, allocations: 60.14 kB / 0.8568 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 5.038e-05/0.7251, allocations: 6.766 kB / 0.8568 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.891e-05/0.7251, allocations: 31.48 kB / 0.8568 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.7253, allocations: 31.11 kB / 0.8569 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.7253, allocations: 5.188 kB / 0.8569 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.7264, allocations: 375.9 kB / 0.8572 GB, free: 492 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 6.089e-05/0.7264, allocations: 17.39 kB / 0.8572 GB, free: 480 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.7265, allocations: 33.25 kB / 0.8573 GB, free: 460 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.7269, allocations: 156 kB / 0.8574 GB, free: 380 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7269, allocations: 0 / 0.8574 GB, free: 380 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7269, allocations: 0 / 0.8574 GB, free: 380 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.7269, allocations: 0 / 0.8574 GB, free: 380 kB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006142/0.7276, allocations: 310.8 kB / 0.8577 GB, free: 72 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.7276, allocations: 10.5 kB / 0.8577 GB, free: 72 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.936e-05/0.7277, allocations: 38.73 kB / 0.8578 GB, free: 24 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006985/0.7284, allocations: 40.67 kB / 0.8578 GB, free: 8 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.7286, allocations: 117.5 kB / 0.8579 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.7286, allocations: 4.438 kB / 0.8579 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.7286, allocations: 19.94 kB / 0.8579 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.729, allocations: 206.1 kB / 0.8581 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.729, allocations: 1.312 kB / 0.8581 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.729, allocations: 0 / 0.8581 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.729, allocations: 2.875 kB / 0.8581 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.7292, allocations: 43.83 kB / 0.8582 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.7295, allocations: 165.3 kB / 0.8583 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.7297, allocations: 80.73 kB / 0.8584 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.34e-05/0.7298, allocations: 31.58 kB / 0.8585 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002173/0.73, allocations: 28.34 kB / 0.8585 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.7301, allocations: 33.44 kB / 0.8585 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=12): time 1.764e-06/0.7301, allocations: 0 / 0.8585 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of matching and sorting (n=19): time 0.001727/0.7318, allocations: 484.9 kB / 0.859 GB, free: 15 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.7319, allocations: 53.38 kB / 0.859 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.548e-05/0.732, allocations: 101.1 kB / 0.8591 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.732, allocations: 32.61 kB / 0.8592 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.7321, allocations: 82.86 kB / 0.8592 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.635e-05/0.7321, allocations: 70.58 kB / 0.8593 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.7322, allocations: 41.92 kB / 0.8593 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.7324, allocations: 326.1 kB / 0.8597 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.539e-05/0.7325, allocations: 30.61 kB / 0.8597 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.7326, allocations: 72.94 kB / 0.8597 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.7329, allocations: 120.3 kB / 0.8599 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.7329, allocations: 3.938 kB / 0.8599 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003925/0.7333, allocations: 150.5 kB / 0.86 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.7333, allocations: 6.188 kB / 0.86 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.7333, allocations: 4 kB / 0.86 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.7333, allocations: 4.859 kB / 0.86 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.7336, allocations: 39.98 kB / 0.8601 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.7336, allocations: 11.94 kB / 0.8601 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.581e-05/0.7337, allocations: 7.938 kB / 0.8601 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.7337, allocations: 4 kB / 0.8601 GB, free: 13.84 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 0.0001587/0.7339, allocations: 121.8 kB / 0.8602 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.7339, allocations: 7.953 kB / 0.8602 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.763e-05/0.734, allocations: 16.47 kB / 0.8602 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.734, allocations: 4 kB / 0.8602 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.734, allocations: 3.75 kB / 0.8602 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.734, allocations: 7.922 kB / 0.8602 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.7343, allocations: 156.7 kB / 0.8604 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7343, allocations: 4 kB / 0.8604 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003409/0.7346, allocations: 35.92 kB / 0.8604 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.7346, allocations: 7.938 kB / 0.8604 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.7347, allocations: 4 kB / 0.8604 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.7347, allocations: 0 / 0.8604 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7347, allocations: 0 / 0.8604 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005169/0.7352, allocations: 218.2 kB / 0.8606 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.254e-05/0.7353, allocations: 11.94 kB / 0.8607 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.7353, allocations: 8.062 kB / 0.8607 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.7355, allocations: 7.984 kB / 0.8607 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.7356, allocations: 15.92 kB / 0.8607 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.7356, allocations: 8 kB / 0.8607 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.003e-05/0.7356, allocations: 75.28 kB / 0.8608 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7356, allocations: 0 / 0.8608 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004051/0.736, allocations: 32 kB / 0.8608 GB, free: 13.05 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0009573/0.737, allocations: 0.7527 MB / 0.8615 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003353/0.7373, allocations: 93.84 kB / 0.8616 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7373, allocations: 96 / 0.8616 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.7375, allocations: 58.14 kB / 0.8617 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.7379, allocations: 19.94 kB / 0.8617 GB, free: 12.1 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.7412, allocations: 1.815 MB / 0.8635 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.7413, allocations: 91.97 kB / 0.8636 GB, free: 10.09 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001906/0.7415, allocations: 20.64 kB / 0.8636 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.734e-05/0.7416, allocations: 23.44 kB / 0.8636 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of SimCode: time 7.11e-07/0.7416, allocations: 0 / 0.8636 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04214/0.7837, allocations: 2.966 MB / 0.8665 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.03, allocations: 14.05 kB / 0.8665 GB, free: 7.223 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck_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_Examples_AirDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.9871500977315] Failed to read output from testmodel.py, exit status != 0: 12.136540624313056 12.158075118 11.426696078 Calling exit ...