Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.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.001362/0.001362, allocations: 119.4 kB / 19.7 MB, free: 2.188 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.001633/0.001633, allocations: 219.7 kB / 23 MB, free: 5.004 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 8.004 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/1, allocations: 150 MB / 463.2 MB, free: 10.53 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.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck",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.002003/0.002003, allocations: 66.36 kB / 0.6412 GB, free: 10.48 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1876, allocations: 89.18 MB / 0.7283 GB, free: 1.375 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002634/0.1903, allocations: 1.285 MB / 0.7296 GB, free: 84 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6013/0.7916, allocations: 141 MB / 0.8672 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.7916, allocations: 0 / 0.8672 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/0.7916, allocations: 0 / 0.8672 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 5.305e-05/0.7917, allocations: 10.8 kB / 0.8672 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.7929, allocations: 476.7 kB / 0.8677 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 7.713e-05/0.793, allocations: 36.72 kB / 0.8677 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.463e-05/0.793, allocations: 0 / 0.8677 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.791e-05/0.7931, allocations: 32 kB / 0.8678 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.929e-05/0.7932, allocations: 15.89 kB / 0.8678 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.7932, allocations: 2.469 kB / 0.8678 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.7946, allocations: 0.8384 MB / 0.8686 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.7946, allocations: 18.62 kB / 0.8686 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.7947, allocations: 8.844 kB / 0.8686 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0005608/0.7952, allocations: 453.5 kB / 0.8691 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.7952, allocations: 7.922 kB / 0.8691 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7952, allocations: 0 / 0.8691 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.7952, allocations: 0 / 0.8691 GB, free: 6.652 MB / 0.6387 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.0004985/0.7957, allocations: 296.5 kB / 0.8693 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.7958, allocations: 10.12 kB / 0.8694 GB, free: 6.363 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.7958, allocations: 33.5 kB / 0.8694 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.796, allocations: 13.73 kB / 0.8694 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.7961, allocations: 121.6 kB / 0.8695 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.7961, allocations: 4.562 kB / 0.8695 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.7961, allocations: 9.031 kB / 0.8695 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.7963, allocations: 58.14 kB / 0.8696 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.7963, allocations: 0 / 0.8696 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.7963, allocations: 0 / 0.8696 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.7963, allocations: 0 / 0.8696 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.037e-05/0.7963, allocations: 19.02 kB / 0.8696 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.7965, allocations: 138.9 kB / 0.8697 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.7966, allocations: 50.09 kB / 0.8698 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.587e-05/0.7967, allocations: 30.41 kB / 0.8698 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/0.8079, allocations: 2.858 MB / 0.8726 GB, free: 3.512 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.808, allocations: 35.11 kB / 0.8726 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.808, allocations: 0 / 0.8726 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.04175/0.8497, allocations: 14.92 MB / 0.8872 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.8498, allocations: 55.41 kB / 0.8873 GB, free: 4.359 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.8499, allocations: 93.86 kB / 0.8874 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.8499, allocations: 29.69 kB / 0.8874 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.85, allocations: 80.14 kB / 0.8875 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.85, allocations: 47.78 kB / 0.8875 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.8501, allocations: 29.7 kB / 0.8875 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.8502, allocations: 322.8 kB / 0.8878 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.8503, allocations: 20 kB / 0.8879 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.722e-05/0.8503, allocations: 23.98 kB / 0.8879 GB, free: 3.691 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.8505, allocations: 68.72 kB / 0.8879 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.8505, allocations: 0 / 0.8879 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002326/0.8507, allocations: 102.8 kB / 0.888 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.8507, allocations: 4 kB / 0.888 GB, free: 3.512 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.8507, allocations: 4 kB / 0.8881 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.8507, allocations: 4 kB / 0.8881 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.8509, allocations: 23.98 kB / 0.8881 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.8509, allocations: 3.938 kB / 0.8881 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.105e-05/0.8509, allocations: 4 kB / 0.8881 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.8509, allocations: 4 kB / 0.8881 GB, free: 3.469 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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.715e-05/0.851, allocations: 117.8 kB / 0.8882 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.8511, allocations: 7.938 kB / 0.8882 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.8513, allocations: 125.4 kB / 0.8883 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.8513, allocations: 0 / 0.8883 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.8513, allocations: 8.688 kB / 0.8883 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.8513, allocations: 0 / 0.8883 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.8515, allocations: 156.6 kB / 0.8885 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8515, allocations: 0 / 0.8885 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.8516, allocations: 23.98 kB / 0.8885 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.8516, allocations: 7.312 kB / 0.8885 GB, free: 2.977 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.8516, allocations: 4 kB / 0.8885 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.8516, allocations: 4 kB / 0.8885 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8516, allocations: 0 / 0.8885 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003061/0.8519, allocations: 155.9 kB / 0.8887 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.852, allocations: 15.97 kB / 0.8887 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.852, allocations: 0 / 0.8887 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.8521, allocations: 19.98 kB / 0.8887 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.8522, allocations: 7.984 kB / 0.8887 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.8522, allocations: 4 kB / 0.8887 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.447e-05/0.8522, allocations: 79.28 kB / 0.8888 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8522, allocations: 3.938 kB / 0.8888 GB, free: 2.676 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001821/0.854, allocations: 0.566 MB / 0.8894 GB, free: 2.109 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,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 (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.003479/0.8575, allocations: 0.948 MB / 0.8903 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.8577, allocations: 63.91 kB / 0.8903 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.8577, allocations: 0 / 0.8903 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.039e-05/0.8578, allocations: 35.92 kB / 0.8904 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.858, allocations: 4 kB / 0.8904 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.8603, allocations: 1.543 MB / 0.8919 GB, free: 15.41 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.8606, allocations: 0.6846 MB / 0.8926 GB, free: 14.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 8.121e-05/0.8607, allocations: 28.47 kB / 0.8926 GB, free: 14.68 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.8608, allocations: 27.44 kB / 0.8926 GB, free: 14.65 MB / 0.67 GB Notification: Performance of SimCode: time 9.01e-07/0.8608, allocations: 0 / 0.8926 GB, free: 14.65 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06556/0.9263, allocations: 25.63 MB / 0.9176 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.79, allocations: 4.125 kB / 0.9176 GB, free: 5.145 MB / 0.6856 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.35071481200066] Failed to read output from testmodel.py, exit status != 0: 13.928931615999318 13.945967714 13.14727287 Calling exit ...