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.001305/0.001305, allocations: 104.3 kB / 19.7 MB, free: 2.09 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.001575/0.001575, allocations: 211.6 kB / 22.99 MB, free: 4.926 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.093/1.093, allocations: 149.9 MB / 463 MB, free: 10.36 MB / 366.1 MB " [Timeout remaining time 178] 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.002419/0.002419, allocations: 65.91 kB / 0.641 GB, free: 10.19 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2238, allocations: 89.18 MB / 0.7281 GB, free: 1.086 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamDerivativeCheck): time 0.003084/0.2269, allocations: 1.263 MB / 0.7294 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.7003/0.9272, allocations: 120.9 MB / 0.8474 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.9272, allocations: 0 / 0.8474 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.791e-05/0.9273, allocations: 3.938 kB / 0.8474 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 6.487e-05/0.9273, allocations: 10.61 kB / 0.8474 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.9287, allocations: 463.4 kB / 0.8479 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.502e-05/0.9288, allocations: 43.44 kB / 0.8479 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.9289, allocations: 6.688 kB / 0.8479 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.018e-05/0.9289, allocations: 15.17 kB / 0.8479 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.996e-05/0.929, allocations: 23.56 kB / 0.848 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.929, allocations: 2.656 kB / 0.848 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.9304, allocations: 0.7935 MB / 0.8487 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.9304, allocations: 14.91 kB / 0.8487 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.9304, allocations: 15.88 kB / 0.8488 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000592/0.931, allocations: 451.1 kB / 0.8492 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.931, allocations: 0 / 0.8492 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.913e-06/0.931, allocations: 2.719 kB / 0.8492 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.931, allocations: 0 / 0.8492 GB, free: 6.637 MB / 0.6231 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.0005056/0.9315, allocations: 301.8 kB / 0.8495 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.9316, allocations: 10.62 kB / 0.8495 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.9316, allocations: 34.73 kB / 0.8495 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.9318, allocations: 8.625 kB / 0.8495 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.9319, allocations: 113.1 kB / 0.8496 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.9319, allocations: 5.875 kB / 0.8496 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.932, allocations: 12.48 kB / 0.8497 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.9322, allocations: 132 kB / 0.8498 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.9322, allocations: 2.594 kB / 0.8498 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.9322, allocations: 0 / 0.8498 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.9322, allocations: 0 / 0.8498 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.207e-05/0.9323, allocations: 25.75 kB / 0.8498 GB, free: 6 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.9324, allocations: 135.6 kB / 0.8499 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.9326, allocations: 57.11 kB / 0.85 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.9326, allocations: 17.64 kB / 0.85 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01119/0.9438, allocations: 2.866 MB / 0.8528 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.286e-05/0.9438, allocations: 41.86 kB / 0.8529 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/0.9439, allocations: 0 / 0.8529 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of matching and sorting (n=11): time 0.04454/0.9884, allocations: 14.92 MB / 0.8674 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.9884, allocations: 55.34 kB / 0.8675 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.591e-05/0.9885, allocations: 97.84 kB / 0.8676 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.9886, allocations: 29.7 kB / 0.8676 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.9886, allocations: 80.14 kB / 0.8677 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/0.9887, allocations: 39.66 kB / 0.8677 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/0.9887, allocations: 37.64 kB / 0.8677 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.9889, allocations: 318.9 kB / 0.8681 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.633e-05/0.9889, allocations: 24 kB / 0.8681 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.989, allocations: 27.98 kB / 0.8681 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.9891, allocations: 59.84 kB / 0.8682 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.9891, allocations: 4 kB / 0.8682 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002231/0.9893, allocations: 102.2 kB / 0.8683 GB, free: 5.211 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.9894, allocations: 4 kB / 0.8683 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.9894, allocations: 0 / 0.8683 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.9894, allocations: 0 / 0.8683 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.9895, allocations: 27.92 kB / 0.8683 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.9895, allocations: 7 kB / 0.8683 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.9895, allocations: 8 kB / 0.8683 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.9895, allocations: 4 kB / 0.8683 GB, free: 5.164 MB / 0.6387 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.158e-05/0.9896, allocations: 113.8 kB / 0.8684 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.9897, allocations: 11.94 kB / 0.8684 GB, free: 5.031 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.99, allocations: 129.3 kB / 0.8686 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.99, allocations: 0 / 0.8686 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.99, allocations: 4 kB / 0.8686 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.99, allocations: 4 kB / 0.8686 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.9902, allocations: 144.7 kB / 0.8687 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.9902, allocations: 0 / 0.8687 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.9903, allocations: 27.98 kB / 0.8687 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.9903, allocations: 0 / 0.8687 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.9903, allocations: 0 / 0.8687 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.9903, allocations: 0 / 0.8687 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.9903, allocations: 4 kB / 0.8687 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.9906, allocations: 161.5 kB / 0.8689 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.9907, allocations: 12.03 kB / 0.8689 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.9907, allocations: 4 kB / 0.8689 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.9908, allocations: 11.98 kB / 0.8689 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.9909, allocations: 11.98 kB / 0.8689 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.9909, allocations: 4 kB / 0.8689 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.009e-05/0.9909, allocations: 75.28 kB / 0.869 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.9909, allocations: 0 / 0.869 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00193/0.9928, allocations: 0.5699 MB / 0.8696 GB, free: 3.812 MB / 0.6387 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.003546/0.9964, allocations: 0.9486 MB / 0.8705 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002089/0.9966, allocations: 67.97 kB / 0.8705 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.9966, allocations: 0 / 0.8705 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.543e-05/0.9967, allocations: 31.92 kB / 0.8706 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.9969, allocations: 8 kB / 0.8706 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.9994, allocations: 1.547 MB / 0.8721 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.956e-05/0.9994, allocations: 75.25 kB / 0.8722 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 9.134e-05/0.9995, allocations: 24.53 kB / 0.8722 GB, free: 1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.9996, allocations: 23.44 kB / 0.8722 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of SimCode: time 6.11e-07/0.9996, allocations: 0 / 0.8722 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06941/1.069, allocations: 26.02 MB / 0.8976 GB, free: 7.094 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.42, allocations: 8.844 kB / 0.8976 GB, free: 7.094 MB / 0.67 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: 19.999621412716806] Failed to read output from testmodel.py, exit status != 0: 13.536869382951409 13.553376391 12.618821658 Calling exit ...