Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.0007856/0.0007856, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008259/0.0008259, allocations: 169.9 kB / 23.21 MB, free: 1.359 MB / 18.57 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 0.8992/0.8992, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.5587/0.5587, allocations: 114 MB / 373.9 MB, free: 8.695 MB / 346.7 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.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 3.938 kB / 0.5543 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.276e-05, allocations: 2.281 kB / 0.5543 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001186/0.001208, allocations: 0.5803 MB / 0.5548 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.002761, allocations: 1.276 MB / 0.5561 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.002782, allocations: 0 / 0.5561 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.002805, allocations: 0 / 0.5561 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 1.547e-05/0.00282, allocations: 4 kB / 0.5561 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.003252, allocations: 71.62 kB / 0.5561 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.654e-05/0.003309, allocations: 4 kB / 0.5561 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.429e-05/0.003363, allocations: 7.984 kB / 0.5561 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.299e-05/0.003396, allocations: 0 / 0.5561 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.884e-05/0.003445, allocations: 4 kB / 0.5562 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.00346, allocations: 4 kB / 0.5562 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002668/0.003727, allocations: 103.9 kB / 0.5563 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.003736, allocations: 0 / 0.5563 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.833e-05/0.003754, allocations: 7.938 kB / 0.5563 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.003908, allocations: 75.78 kB / 0.5563 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.003911, allocations: 0 / 0.5563 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.383e-06/0.003913, allocations: 3.938 kB / 0.5563 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.003918, allocations: 0 / 0.5563 GB, free: 0.5547 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002442/0.004162, allocations: 254.2 kB / 0.5566 GB, free: 284 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.0042, allocations: 8.031 kB / 0.5566 GB, free: 276 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.845e-05/0.004229, allocations: 34.75 kB / 0.5566 GB, free: 232 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.004251, allocations: 4.938 kB / 0.5566 GB, free: 228 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.221e-05/0.004303, allocations: 105.8 kB / 0.5567 GB, free: 96 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.004313, allocations: 384 / 0.5567 GB, free: 96 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-06/0.00432, allocations: 384 / 0.5567 GB, free: 96 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.398e-05/0.004404, allocations: 34.25 kB / 0.5568 GB, free: 56 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.00441, allocations: 192 / 0.5568 GB, free: 56 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.004419, allocations: 4.125 kB / 0.5568 GB, free: 52 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.004426, allocations: 4 kB / 0.5568 GB, free: 48 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.206e-05/0.004448, allocations: 4 kB / 0.5568 GB, free: 44 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001222/0.00457, allocations: 112.8 kB / 0.5569 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.285e-05/0.004613, allocations: 30.55 kB / 0.5569 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.004628, allocations: 4.859 kB / 0.5569 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.004909, allocations: 44 kB / 0.557 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.004934, allocations: 34.56 kB / 0.557 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.004935, allocations: 0 / 0.557 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.000146/0.005081, allocations: 37.58 kB / 0.557 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.005118, allocations: 51.41 kB / 0.5571 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.681e-05/0.005144, allocations: 93.98 kB / 0.5572 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.005155, allocations: 25.7 kB / 0.5572 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.907e-05/0.005174, allocations: 80.14 kB / 0.5573 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.005202, allocations: 8 kB / 0.5573 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-05/0.005225, allocations: 9.719 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.00532, allocations: 314.8 kB / 0.5576 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.005332, allocations: 4 kB / 0.5576 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.59e-06/0.005337, allocations: 0 / 0.5576 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.683e-05/0.005364, allocations: 8.859 kB / 0.5576 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.005366, allocations: 64 / 0.5576 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.027e-05/0.005406, allocations: 41.64 kB / 0.5576 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.00542, allocations: 4 kB / 0.5576 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.005425, allocations: 4 kB / 0.5576 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.005441, allocations: 3.938 kB / 0.5576 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.168e-05/0.005493, allocations: 3.938 kB / 0.5576 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.0055, allocations: 3.984 kB / 0.5577 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.157e-06/0.005509, allocations: 0 / 0.5577 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.005516, allocations: 7.938 kB / 0.5577 GB, free: 15.01 MB / 0.5261 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 (1): * Single equations (assignments): 1 * 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 5.616e-05/0.005572, allocations: 105.8 kB / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-06/0.005577, allocations: 7.984 kB / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.66e-05/0.005674, allocations: 36.7 kB / 0.5578 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.005677, allocations: 3.938 kB / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.005684, allocations: 3.984 kB / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.005686, allocations: 0 / 0.5578 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.795e-05/0.005754, allocations: 116.8 kB / 0.5579 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.005756, allocations: 0 / 0.5579 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.476e-05/0.00577, allocations: 7.938 kB / 0.5579 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.005773, allocations: 0 / 0.5579 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.005779, allocations: 4.031 kB / 0.5579 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.005781, allocations: 3.938 kB / 0.5579 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.005782, allocations: 0 / 0.5579 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.134e-05/0.005833, allocations: 57.12 kB / 0.558 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-06/0.005839, allocations: 0 / 0.558 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.005854, allocations: 12 kB / 0.558 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.16e-06/0.005859, allocations: 3.938 kB / 0.558 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.005872, allocations: 0 / 0.558 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.005874, allocations: 0 / 0.558 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.144e-05/0.005895, allocations: 79.31 kB / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.005895, allocations: 4.031 kB / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001365/0.006032, allocations: 15.92 kB / 0.5581 GB, free: 14.48 MB / 0.5261 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 (1): * Single equations (assignments): 1 * 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.0006367/0.006668, allocations: 0.6046 MB / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.332e-05/0.006742, allocations: 4 kB / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.006744, allocations: 0 / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.753e-06/0.00675, allocations: 4 kB / 0.5587 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.006857, allocations: 3.938 kB / 0.5587 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.007138, allocations: 126.5 kB / 0.5588 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.007178, allocations: 59.36 kB / 0.5589 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.348e-05/0.007202, allocations: 4 kB / 0.5589 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.007222, allocations: 8.5 kB / 0.5589 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of SimCode: time 6.52e-07/0.007222, allocations: 4 kB / 0.5589 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.02358, allocations: 1.761 MB / 0.5606 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.791/6.814, allocations: 6.844 kB / 0.5606 GB, free: 11.94 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.405997766181827] Failed to read output from testmodel.py, exit status != 0: 6.893111700192094 6.904314717 6.898388495 Calling exit ...