Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008354/0.0008354, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007733/0.0007733, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8906/0.8906, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001711/0.001711, allocations: 236.8 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6495/0.6495, allocations: 138.4 MB / 454.3 MB, free: 1.648 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 0.6464 GB, free: 29.08 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.397e-05, allocations: 6.219 kB / 0.6464 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001314/0.001338, allocations: 0.5786 MB / 0.6469 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.002461, allocations: 1.29 MB / 0.6482 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.681e-05/0.002478, allocations: 0 / 0.6482 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.002493, allocations: 0 / 0.6482 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.803e-06/0.002499, allocations: 3.938 kB / 0.6482 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.00286, allocations: 70.38 kB / 0.6483 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.874e-05/0.002908, allocations: 6.25 kB / 0.6483 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.002951, allocations: 1.25 kB / 0.6483 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.678e-05/0.002978, allocations: 1.125 kB / 0.6483 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.00302, allocations: 5.25 kB / 0.6483 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.00303, allocations: 0 / 0.6483 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.003262, allocations: 113.7 kB / 0.6484 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.217e-06/0.003272, allocations: 1.469 kB / 0.6484 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.46e-05/0.003286, allocations: 0 / 0.6484 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.003413, allocations: 68.8 kB / 0.6484 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.003417, allocations: 1.469 kB / 0.6484 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.723e-06/0.003418, allocations: 0 / 0.6484 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.003424, allocations: 0 / 0.6484 GB, free: 27.46 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.0002095/0.003633, allocations: 254.2 kB / 0.6487 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.003677, allocations: 14.38 kB / 0.6487 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.048e-05/0.003697, allocations: 30.75 kB / 0.6487 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.003721, allocations: 2.375 kB / 0.6487 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.359e-05/0.003754, allocations: 109.8 kB / 0.6488 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.003765, allocations: 1.562 kB / 0.6488 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.153e-06/0.003772, allocations: 1.531 kB / 0.6488 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.92e-05/0.003851, allocations: 31.39 kB / 0.6489 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.003858, allocations: 1.844 kB / 0.6489 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.003865, allocations: 8.062 kB / 0.6489 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.00387, allocations: 0 / 0.6489 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.91e-05/0.003889, allocations: 5.062 kB / 0.6489 GB, free: 26.97 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.085e-05/0.00397, allocations: 119.1 kB / 0.649 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.474e-05/0.004004, allocations: 20.94 kB / 0.649 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.345e-05/0.004018, allocations: 6.172 kB / 0.649 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002658/0.004283, allocations: 40.5 kB / 0.6491 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.0043, allocations: 33.31 kB / 0.6491 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.004301, allocations: 3.938 kB / 0.6491 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001219/0.004423, allocations: 42.11 kB / 0.6491 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.764e-05/0.00444, allocations: 52.84 kB / 0.6492 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.057e-06/0.00445, allocations: 93.84 kB / 0.6493 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-06/0.004454, allocations: 25.7 kB / 0.6493 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.782e-06/0.004461, allocations: 81.17 kB / 0.6494 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.004484, allocations: 0 / 0.6494 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/0.004503, allocations: 12.44 kB / 0.6494 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.727e-05/0.004531, allocations: 311.7 kB / 0.6497 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-06/0.004539, allocations: 1.156 kB / 0.6497 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.524e-05/0.004594, allocations: 9.531 kB / 0.6497 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.475e-05/0.004619, allocations: 16.48 kB / 0.6497 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.004621, allocations: 0 / 0.6497 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.332e-05/0.004654, allocations: 34.28 kB / 0.6497 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.004669, allocations: 5.062 kB / 0.6498 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.004674, allocations: 5.453 kB / 0.6498 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.004688, allocations: 3.938 kB / 0.6498 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.977e-05/0.004738, allocations: 2.469 kB / 0.6498 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.004743, allocations: 0 / 0.6498 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.037e-06/0.004752, allocations: 4 kB / 0.6498 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.004757, allocations: 1.094 kB / 0.6498 GB, free: 26 MB / 0.5105 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 3.548e-05/0.004793, allocations: 111.5 kB / 0.6499 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-06/0.004796, allocations: 1.188 kB / 0.6499 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.294e-05/0.004869, allocations: 47.16 kB / 0.6499 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.004871, allocations: 3.938 kB / 0.6499 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.004874, allocations: 0 / 0.6499 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.004877, allocations: 0 / 0.6499 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.771e-05/0.004915, allocations: 115 kB / 0.65 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.004915, allocations: 0 / 0.65 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-06/0.004923, allocations: 9.516 kB / 0.65 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.004924, allocations: 1.688 kB / 0.65 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.004929, allocations: 0 / 0.65 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.00493, allocations: 3.938 kB / 0.65 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.004931, allocations: 1.219 kB / 0.6501 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.484e-05/0.004966, allocations: 59.77 kB / 0.6501 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-06/0.00497, allocations: 9.047 kB / 0.6501 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.437e-06/0.00498, allocations: 5.109 kB / 0.6501 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.037e-06/0.004984, allocations: 3.938 kB / 0.6501 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.004996, allocations: 1.094 kB / 0.6501 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.004998, allocations: 5.188 kB / 0.6501 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.927e-06/0.005007, allocations: 75.28 kB / 0.6502 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.005007, allocations: 0 / 0.6502 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001347/0.005142, allocations: 12.28 kB / 0.6502 GB, free: 25.5 MB / 0.5105 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.0002057/0.005347, allocations: 0.6089 MB / 0.6508 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.973e-05/0.005407, allocations: 10.86 kB / 0.6508 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.005409, allocations: 0 / 0.6508 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.638e-06/0.005413, allocations: 6.719 kB / 0.6508 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001039/0.005517, allocations: 12.62 kB / 0.6508 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.005742, allocations: 109.2 kB / 0.6509 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.102e-05/0.005763, allocations: 58.03 kB / 0.651 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.929e-05/0.005782, allocations: 1.219 kB / 0.651 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.587e-05/0.005798, allocations: 8.5 kB / 0.651 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of SimCode: time 4.4e-07/0.005798, allocations: 1.531 kB / 0.651 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.01985, allocations: 1.784 MB / 0.6527 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.587/6.607, allocations: 4.594 kB / 0.6528 GB, free: 23.46 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SpliceFunction.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.408282969146967] Failed to read output from testmodel.py, exit status != 0: 6.68145748320967 6.688325583 6.683487208 Calling exit ...