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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 111.6 kB / 17.08 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 191.7 kB / 20.02 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.832/0.832, allocations: 126.7 MB / 424.6 MB, free: 6.375 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 75.88 kB / 0.582 GB, free: 12.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.4519, allocations: 78.86 MB / 0.6591 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.002723/0.4547, allocations: 1.485 MB / 0.6605 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.4558, allocations: 0.662 MB / 0.6612 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.4559, allocations: 1.125 kB / 0.6612 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.508e-05/0.4559, allocations: 4.828 kB / 0.6612 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.533e-05/0.456, allocations: 5.219 kB / 0.6612 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.4564, allocations: 78.28 kB / 0.6612 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.738e-05/0.4565, allocations: 42.88 kB / 0.6613 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.4566, allocations: 19.06 kB / 0.6613 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.977e-05/0.4567, allocations: 12.09 kB / 0.6613 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.633e-05/0.4567, allocations: 20.64 kB / 0.6613 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.4568, allocations: 2.5 kB / 0.6613 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.457, allocations: 107.8 kB / 0.6614 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.457, allocations: 5.453 kB / 0.6614 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.704e-05/0.457, allocations: 18.53 kB / 0.6615 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.4572, allocations: 92.89 kB / 0.6615 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4572, allocations: 3.938 kB / 0.6615 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4572, allocations: 1.156 kB / 0.6615 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.4572, allocations: 0 / 0.6615 GB, free: 12.98 MB / 0.4981 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.0003939/0.4576, allocations: 357.7 kB / 0.6619 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.4577, allocations: 10.27 kB / 0.6619 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.4577, allocations: 36.77 kB / 0.6619 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.4578, allocations: 7.266 kB / 0.6619 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.4579, allocations: 171.9 kB / 0.6621 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.4579, allocations: 6.203 kB / 0.6621 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.4579, allocations: 2.75 kB / 0.6621 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.4581, allocations: 56.98 kB / 0.6622 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4581, allocations: 0 / 0.6622 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.4581, allocations: 1.188 kB / 0.6622 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.4581, allocations: 1.219 kB / 0.6622 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.4582, allocations: 27.62 kB / 0.6622 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.4586, allocations: 287.6 kB / 0.6625 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.498e-05/0.4587, allocations: 30.41 kB / 0.6625 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.818e-05/0.4587, allocations: 13.97 kB / 0.6625 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003728/0.4591, allocations: 0.5593 MB / 0.6631 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.4591, allocations: 35.72 kB / 0.6631 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.4591, allocations: 0 / 0.6631 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002501/0.4594, allocations: 67.33 kB / 0.6632 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.4594, allocations: 56.81 kB / 0.6632 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.4595, allocations: 119.6 kB / 0.6633 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.824e-06/0.4595, allocations: 29.64 kB / 0.6634 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.4596, allocations: 87.98 kB / 0.6634 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.4596, allocations: 10.06 kB / 0.6634 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.4596, allocations: 21.67 kB / 0.6635 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.075e-05/0.4597, allocations: 317.6 kB / 0.6638 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.4597, allocations: 11.38 kB / 0.6638 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.709e-05/0.4598, allocations: 8.641 kB / 0.6638 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.716e-05/0.4599, allocations: 33.95 kB / 0.6638 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4599, allocations: 0 / 0.6638 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001316/0.46, allocations: 55.27 kB / 0.6639 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.46, allocations: 6.062 kB / 0.6639 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.46, allocations: 0 / 0.6639 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.4601, allocations: 1.984 kB / 0.6639 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.4601, allocations: 5.297 kB / 0.6639 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.4601, allocations: 0.8906 kB / 0.6639 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/0.4602, allocations: 7.703 kB / 0.6639 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.4602, allocations: 3.938 kB / 0.6639 GB, free: 10.51 MB / 0.4981 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 4.374e-05/0.4602, allocations: 113.5 kB / 0.664 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.4603, allocations: 6.797 kB / 0.664 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.4604, allocations: 65.52 kB / 0.6641 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4605, allocations: 5.406 kB / 0.6641 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.4605, allocations: 0 / 0.6641 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4605, allocations: 0.6094 kB / 0.6641 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.4606, allocations: 169.9 kB / 0.6642 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4606, allocations: 0 / 0.6642 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.337e-05/0.4607, allocations: 9.844 kB / 0.6643 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4607, allocations: 1.219 kB / 0.6643 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.4607, allocations: 4.5 kB / 0.6643 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4607, allocations: 1.469 kB / 0.6643 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4607, allocations: 0.7969 kB / 0.6643 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.4608, allocations: 154.6 kB / 0.6644 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.4608, allocations: 87.62 kB / 0.6645 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.4609, allocations: 6.016 kB / 0.6645 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.186e-05/0.4609, allocations: 3.188 kB / 0.6645 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.461, allocations: 2.062 kB / 0.6645 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.461, allocations: 0.6094 kB / 0.6645 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.374e-05/0.461, allocations: 98.42 kB / 0.6646 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.461, allocations: 0 / 0.6646 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002305/0.4613, allocations: 8.781 kB / 0.6646 GB, free: 9.801 MB / 0.4981 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.0003315/0.4616, allocations: 0.6929 MB / 0.6653 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001365/0.4617, allocations: 30.7 kB / 0.6653 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4618, allocations: 0 / 0.6653 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.832e-05/0.4618, allocations: 15.73 kB / 0.6653 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.462, allocations: 2.266 kB / 0.6653 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009573/0.463, allocations: 1.311 MB / 0.6666 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.999e-05/0.4631, allocations: 0.6857 MB / 0.6673 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.534e-05/0.4631, allocations: 2.344 kB / 0.6673 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.4632, allocations: 18.66 kB / 0.6673 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4632, allocations: 0.8125 kB / 0.6673 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.4851, allocations: 1.502 MB / 0.6688 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.362, allocations: 4.75 kB / 0.6688 GB, free: 6.777 MB / 0.4981 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: 11.90952288301196] Failed to read output from testmodel.py, exit status != 0: 8.438031992991455 8.458384807 7.997191522 Calling exit ...