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.00139/0.00139, allocations: 110.5 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.001801/0.001801, allocations: 211.2 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.544/1.544, 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 0.9894/0.9894, allocations: 150 MB / 459.5 MB, free: 5.316 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.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.002224/0.002224, allocations: 66.66 kB / 0.6361 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2068, allocations: 89.14 MB / 0.7231 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002826/0.2096, allocations: 1.334 MB / 0.7244 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.6251/0.8347, allocations: 151.4 MB / 0.8723 GB, free: 3.086 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.8348, allocations: 0.9688 kB / 0.8723 GB, free: 3.086 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 5.345e-05/0.8349, allocations: 5.922 kB / 0.8723 GB, free: 3.086 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.835, allocations: 15.55 kB / 0.8723 GB, free: 3.086 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.8362, allocations: 338.6 kB / 0.8726 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.8363, allocations: 65.41 kB / 0.8727 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.8364, allocations: 7.031 kB / 0.8727 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 6.007e-05/0.8364, allocations: 31.47 kB / 0.8727 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.8365, allocations: 37.52 kB / 0.8727 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.8365, allocations: 2.844 kB / 0.8727 GB, free: 3.066 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009332/0.8375, allocations: 442.4 kB / 0.8732 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 6.583e-05/0.8375, allocations: 13.7 kB / 0.8732 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 6.308e-05/0.8376, allocations: 34.41 kB / 0.8732 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0004877/0.8381, allocations: 156.9 kB / 0.8734 GB, free: 3.051 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.8381, allocations: 1.844 kB / 0.8734 GB, free: 3.051 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8381, allocations: 0.6094 kB / 0.8734 GB, free: 3.051 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.8381, allocations: 0 / 0.8734 GB, free: 3.051 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008601/0.839, allocations: 389.9 kB / 0.8737 GB, free: 18.68 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.839, allocations: 11.88 kB / 0.8737 GB, free: 18.68 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.792e-05/0.8391, allocations: 39.48 kB / 0.8738 GB, free: 18.64 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005016/0.8396, allocations: 40.19 kB / 0.8738 GB, free: 18.63 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.8397, allocations: 171.2 kB / 0.874 GB, free: 18.43 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.8397, allocations: 10.94 kB / 0.874 GB, free: 18.43 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.8398, allocations: 12.8 kB / 0.874 GB, free: 18.43 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.84, allocations: 77.31 kB / 0.8741 GB, free: 18.39 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.84, allocations: 0 / 0.8741 GB, free: 18.39 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.84, allocations: 6.703 kB / 0.8741 GB, free: 18.39 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.84, allocations: 1.812 kB / 0.8741 GB, free: 18.39 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.8401, allocations: 48.16 kB / 0.8741 GB, free: 18.39 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.8404, allocations: 191.2 kB / 0.8743 GB, free: 18.2 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.8406, allocations: 86.11 kB / 0.8744 GB, free: 18.18 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.8406, allocations: 29.02 kB / 0.8744 GB, free: 18.17 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/0.8409, allocations: 178.3 kB / 0.8746 GB, free: 17.98 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.8409, allocations: 34.08 kB / 0.8746 GB, free: 17.94 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.8409, allocations: 0 / 0.8746 GB, free: 17.94 MB / 0.6856 GB Notification: Performance of matching and sorting (n=19): time 0.001493/0.8424, allocations: 0.5602 MB / 0.8752 GB, free: 17.67 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.8425, allocations: 54.47 kB / 0.8752 GB, free: 17.61 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.8426, allocations: 99.17 kB / 0.8753 GB, free: 17.51 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.8426, allocations: 31.95 kB / 0.8754 GB, free: 17.48 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/0.8426, allocations: 82.67 kB / 0.8754 GB, free: 17.39 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.585e-05/0.8427, allocations: 71.38 kB / 0.8755 GB, free: 17.35 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/0.8427, allocations: 42.78 kB / 0.8755 GB, free: 17.33 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.8429, allocations: 320.9 kB / 0.8759 GB, free: 17.02 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.733e-05/0.843, allocations: 36.27 kB / 0.8759 GB, free: 17.02 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.673e-05/0.8431, allocations: 69.66 kB / 0.876 GB, free: 16.99 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.8432, allocations: 128.2 kB / 0.8761 GB, free: 16.95 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.8432, allocations: 0.7188 kB / 0.8761 GB, free: 16.95 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002275/0.8435, allocations: 155.1 kB / 0.8762 GB, free: 16.92 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.8435, allocations: 6 kB / 0.8762 GB, free: 16.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.8435, allocations: 4.609 kB / 0.8762 GB, free: 16.92 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.8435, allocations: 0 / 0.8762 GB, free: 16.92 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.8437, allocations: 39.5 kB / 0.8763 GB, free: 16.92 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.8437, allocations: 4.5 kB / 0.8763 GB, free: 16.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.004e-05/0.8437, allocations: 10.59 kB / 0.8763 GB, free: 16.91 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.8438, allocations: 6.969 kB / 0.8763 GB, free: 16.91 MB / 0.6856 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.0001026/0.8439, allocations: 120.8 kB / 0.8764 GB, free: 16.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.8439, allocations: 13.27 kB / 0.8764 GB, free: 16.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.807e-05/0.8439, allocations: 16.48 kB / 0.8764 GB, free: 16.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.8439, allocations: 2.844 kB / 0.8764 GB, free: 16.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.8439, allocations: 1.766 kB / 0.8764 GB, free: 16.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8439, allocations: 7.688 kB / 0.8764 GB, free: 16.79 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.8441, allocations: 195.1 kB / 0.8766 GB, free: 16.61 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.8441, allocations: 1.859 kB / 0.8766 GB, free: 16.61 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.8443, allocations: 34.05 kB / 0.8767 GB, free: 16.61 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.8443, allocations: 0 / 0.8767 GB, free: 16.61 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.8443, allocations: 7.781 kB / 0.8767 GB, free: 16.61 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.8443, allocations: 0 / 0.8767 GB, free: 16.61 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8443, allocations: 1.656 kB / 0.8767 GB, free: 16.61 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.8446, allocations: 214.9 kB / 0.8769 GB, free: 16.53 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.631e-05/0.8447, allocations: 91.03 kB / 0.877 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.8447, allocations: 4.406 kB / 0.877 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.8448, allocations: 9.516 kB / 0.877 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.8449, allocations: 17.67 kB / 0.877 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.8449, allocations: 6.734 kB / 0.877 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 5.084e-05/0.8449, allocations: 78.34 kB / 0.8771 GB, free: 16.36 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.8449, allocations: 0 / 0.8771 GB, free: 16.36 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002306/0.8452, allocations: 30.06 kB / 0.8771 GB, free: 16.36 MB / 0.6856 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.0006528/0.8458, allocations: 0.7493 MB / 0.8778 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.846, allocations: 100.5 kB / 0.8779 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.846, allocations: 1.094 kB / 0.8779 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 6.912e-05/0.8461, allocations: 51.02 kB / 0.878 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.8464, allocations: 22.62 kB / 0.878 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.8483, allocations: 1.833 MB / 0.8798 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.8487, allocations: 0.7051 MB / 0.8805 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.8488, allocations: 20.8 kB / 0.8805 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.8489, allocations: 22.92 kB / 0.8805 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of SimCode: time 4.91e-07/0.8489, allocations: 1.094 kB / 0.8805 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.8798, allocations: 2.441 MB / 0.8829 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/9.09, allocations: 5.594 kB / 0.8829 GB, free: 13.22 MB / 0.6856 GB " [Timeout remaining time 651] (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: 13.116003558970988] Failed to read output from testmodel.py, exit status != 0: 9.158617254113778 9.172813222 8.332260415 Calling exit ...