Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.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.001725/0.001725, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.00195/0.00195, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.537/1.537, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.074/1.074, allocations: 150 MB / 459.5 MB, free: 5.289 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.Utilities.Math.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",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.002055/0.002055, allocations: 71.77 kB / 0.6361 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1678, allocations: 89.14 MB / 0.7232 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.002784/0.1706, allocations: 1.503 MB / 0.7246 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.1719, allocations: 0.7457 MB / 0.7254 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.172, allocations: 0 / 0.7254 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.121e-05/0.172, allocations: 7.875 kB / 0.7254 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.78e-05/0.1721, allocations: 15.86 kB / 0.7254 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/0.1725, allocations: 99.66 kB / 0.7255 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.1727, allocations: 35.92 kB / 0.7255 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1728, allocations: 20.19 kB / 0.7255 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1729, allocations: 15.94 kB / 0.7256 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.995e-05/0.1729, allocations: 19.92 kB / 0.7256 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.1729, allocations: 0 / 0.7256 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.1732, allocations: 119.9 kB / 0.7257 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.481e-05/0.1732, allocations: 7.922 kB / 0.7257 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.1732, allocations: 23.88 kB / 0.7257 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.1735, allocations: 99.69 kB / 0.7258 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1735, allocations: 0 / 0.7258 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1735, allocations: 0 / 0.7258 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.1735, allocations: 0 / 0.7258 GB, free: 1.281 MB / 0.5294 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.0005021/0.174, allocations: 375 kB / 0.7262 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.174, allocations: 8.031 kB / 0.7262 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.182e-05/0.1741, allocations: 30.75 kB / 0.7262 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.1742, allocations: 20.88 kB / 0.7262 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.1745, allocations: 188.3 kB / 0.7264 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.1745, allocations: 384 / 0.7264 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.1745, allocations: 4.375 kB / 0.7264 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.1746, allocations: 65.67 kB / 0.7265 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1746, allocations: 0 / 0.7265 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1747, allocations: 0 / 0.7265 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1747, allocations: 0 / 0.7265 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.1748, allocations: 31.97 kB / 0.7265 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.1752, allocations: 284.8 kB / 0.7268 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1753, allocations: 34.5 kB / 0.7268 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.086e-05/0.1753, allocations: 8.922 kB / 0.7268 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005689/0.1759, allocations: 0.5661 MB / 0.7274 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.1759, allocations: 30.56 kB / 0.7274 GB, free: 15.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1759, allocations: 4 kB / 0.7274 GB, free: 15.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002729/0.1762, allocations: 61.67 kB / 0.7275 GB, free: 15.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.1762, allocations: 55.34 kB / 0.7275 GB, free: 15.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.1763, allocations: 126.1 kB / 0.7276 GB, free: 15.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1764, allocations: 25.7 kB / 0.7277 GB, free: 15.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.1764, allocations: 92.27 kB / 0.7278 GB, free: 14.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.1764, allocations: 11.89 kB / 0.7278 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.109e-05/0.1765, allocations: 9.719 kB / 0.7278 GB, free: 14.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.1766, allocations: 326.8 kB / 0.7281 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.299e-05/0.1767, allocations: 4 kB / 0.7281 GB, free: 14.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.168e-05/0.1767, allocations: 15.98 kB / 0.7281 GB, free: 14.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.801e-05/0.1768, allocations: 28.91 kB / 0.7281 GB, free: 14.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1768, allocations: 0 / 0.7281 GB, free: 14.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001344/0.1769, allocations: 57.58 kB / 0.7282 GB, free: 14.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.1769, allocations: 4 kB / 0.7282 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1769, allocations: 7.938 kB / 0.7282 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.177, allocations: 0 / 0.7282 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.773e-05/0.177, allocations: 7.984 kB / 0.7282 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.177, allocations: 0 / 0.7282 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.25e-05/0.1771, allocations: 0 / 0.7282 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1771, allocations: 11.97 kB / 0.7282 GB, free: 14.46 MB / 0.545 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 (2): * Single equations (assignments): 2 * 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 8.504e-05/0.1772, allocations: 109.8 kB / 0.7283 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.453e-05/0.1772, allocations: 11.94 kB / 0.7283 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.1774, allocations: 61.2 kB / 0.7284 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1774, allocations: 0 / 0.7284 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1774, allocations: 0 / 0.7284 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1774, allocations: 3.984 kB / 0.7284 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.1776, allocations: 165.6 kB / 0.7286 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1776, allocations: 8.031 kB / 0.7286 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.1776, allocations: 7.938 kB / 0.7286 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1776, allocations: 0 / 0.7286 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.1776, allocations: 4 kB / 0.7286 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1776, allocations: 3.938 kB / 0.7286 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1776, allocations: 0 / 0.7286 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.1778, allocations: 159.4 kB / 0.7287 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.1779, allocations: 81.14 kB / 0.7288 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.1779, allocations: 0 / 0.7288 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.696e-05/0.1779, allocations: 7.984 kB / 0.7288 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.178, allocations: 0 / 0.7288 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.178, allocations: 0 / 0.7288 GB, free: 13.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.095e-05/0.1781, allocations: 105.8 kB / 0.7289 GB, free: 13.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1781, allocations: 0 / 0.7289 GB, free: 13.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002462/0.1783, allocations: 15.94 kB / 0.7289 GB, free: 13.63 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0005948/0.1789, allocations: 0.6968 MB / 0.7296 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.179, allocations: 27.97 kB / 0.7296 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.179, allocations: 0 / 0.7296 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.481e-05/0.1791, allocations: 16.03 kB / 0.7297 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.1793, allocations: 4.062 kB / 0.7297 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.1808, allocations: 1.326 MB / 0.731 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1811, allocations: 0.6845 MB / 0.7316 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.728e-05/0.1811, allocations: 7.984 kB / 0.7316 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.1812, allocations: 15.44 kB / 0.7316 GB, free: 10.72 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1812, allocations: 0 / 0.7316 GB, free: 10.72 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.2075, allocations: 1.636 MB / 0.7332 GB, free: 9.148 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.273, allocations: 4.922 kB / 0.7332 GB, free: 9.148 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.39753314689733] Failed to read output from testmodel.py, exit status != 0: 8.341958703938872 8.36330817 8.186035319 Calling exit ...