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.001496/0.001496, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.001576/0.001576, allocations: 157.9 kB / 23.01 MB, free: 4.945 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.365/1.365, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 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.002333/0.002333, allocations: 241.3 kB / 260 MB, free: 436 kB / 238.1 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.8821/0.8821, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.1 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002969/0.002969, allocations: 91.86 kB / 0.6474 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3803, allocations: 95.34 MB / 0.7405 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001552/0.3818, allocations: 0.5913 MB / 0.7411 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3831, allocations: 1.281 MB / 0.7423 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.368e-05/0.3831, allocations: 0 / 0.7423 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.369e-05/0.3831, allocations: 0 / 0.7423 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.969e-06/0.3831, allocations: 0.8125 kB / 0.7423 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.3834, allocations: 79.45 kB / 0.7424 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 3.278e-05/0.3835, allocations: 1.922 kB / 0.7424 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.3835, allocations: 6.109 kB / 0.7424 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 1.113e-05/0.3835, allocations: 1.469 kB / 0.7424 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 3.265e-05/0.3835, allocations: 0.7969 kB / 0.7424 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.013e-06/0.3835, allocations: 0.7812 kB / 0.7424 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002746/0.3838, allocations: 112 kB / 0.7425 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.3838, allocations: 4.938 kB / 0.7425 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.182e-05/0.3838, allocations: 1.344 kB / 0.7425 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.384, allocations: 60.97 kB / 0.7426 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.384, allocations: 4 kB / 0.7426 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.384, allocations: 0 / 0.7426 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.384, allocations: 0 / 0.7426 GB, free: 16.13 MB / 0.5919 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.0002063/0.3842, allocations: 257.8 kB / 0.7428 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.3842, allocations: 11.02 kB / 0.7428 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.3842, allocations: 2.188 kB / 0.7428 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.162e-05/0.3843, allocations: 104.3 kB / 0.7429 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-06/0.3843, allocations: 1.078 kB / 0.7429 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.3843, allocations: 5.734 kB / 0.7429 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.265e-05/0.3844, allocations: 35.72 kB / 0.743 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-06/0.3844, allocations: 2.234 kB / 0.743 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.3844, allocations: 7.938 kB / 0.743 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.3844, allocations: 0 / 0.743 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.624e-05/0.3844, allocations: 1.828 kB / 0.743 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.197e-05/0.3845, allocations: 100.7 kB / 0.7431 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.036e-05/0.3845, allocations: 16.33 kB / 0.7431 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.122e-05/0.3845, allocations: 6.234 kB / 0.7431 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/0.3848, allocations: 43.16 kB / 0.7432 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.073e-05/0.3848, allocations: 36.45 kB / 0.7432 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3848, allocations: 3.938 kB / 0.7432 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001095/0.3849, allocations: 36.59 kB / 0.7432 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.426e-05/0.3849, allocations: 52.53 kB / 0.7433 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.142e-05/0.3849, allocations: 93.86 kB / 0.7434 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-06/0.3849, allocations: 25.7 kB / 0.7434 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.514e-06/0.385, allocations: 82.16 kB / 0.7435 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.385, allocations: 0 / 0.7435 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.385, allocations: 13.39 kB / 0.7435 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.164e-05/0.385, allocations: 311.5 kB / 0.7438 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.385, allocations: 5.344 kB / 0.7438 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-06/0.385, allocations: 1.656 kB / 0.7438 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.028e-05/0.3851, allocations: 16.7 kB / 0.7438 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3851, allocations: 1.062 kB / 0.7438 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.905e-05/0.3851, allocations: 32.34 kB / 0.7438 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.3851, allocations: 4.75 kB / 0.7438 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.3851, allocations: 1.406 kB / 0.7438 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3851, allocations: 3.938 kB / 0.7438 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.489e-05/0.3852, allocations: 6.016 kB / 0.7438 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3852, allocations: 6.188 kB / 0.7439 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.858e-06/0.3852, allocations: 0 / 0.7439 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.3852, allocations: 1.281 kB / 0.7439 GB, free: 14.77 MB / 0.5919 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.108e-05/0.3852, allocations: 108 kB / 0.744 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-06/0.3852, allocations: 0 / 0.744 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.047e-05/0.3853, allocations: 49.59 kB / 0.744 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.3853, allocations: 0 / 0.744 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3853, allocations: 0 / 0.744 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3853, allocations: 6 kB / 0.744 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.112e-05/0.3853, allocations: 95.12 kB / 0.7441 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3853, allocations: 1.062 kB / 0.7441 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.3853, allocations: 1.703 kB / 0.7441 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3853, allocations: 1.25 kB / 0.7441 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.3853, allocations: 0.6562 kB / 0.7441 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3854, allocations: 3.938 kB / 0.7441 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3854, allocations: 1.062 kB / 0.7441 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.532e-05/0.3854, allocations: 71.48 kB / 0.7442 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-06/0.3854, allocations: 0.5156 kB / 0.7442 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.796e-06/0.3854, allocations: 5.859 kB / 0.7442 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-06/0.3854, allocations: 3.938 kB / 0.7442 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.3854, allocations: 2.141 kB / 0.7442 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.3854, allocations: 0 / 0.7442 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.938e-06/0.3854, allocations: 75.89 kB / 0.7443 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5e-08/0.3854, allocations: 1.562 kB / 0.7443 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001929/0.3856, allocations: 11.02 kB / 0.7443 GB, free: 14.32 MB / 0.5919 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.0001095/0.3857, allocations: 109.2 kB / 0.7444 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.95e-05/0.3858, allocations: 8.062 kB / 0.7444 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3858, allocations: 4.062 kB / 0.7444 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-06/0.3858, allocations: 2.859 kB / 0.7444 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.3859, allocations: 3.219 kB / 0.7444 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001241/0.3861, allocations: 77.11 kB / 0.7445 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.059e-05/0.3861, allocations: 55 kB / 0.7445 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.54e-05/0.3861, allocations: 1.156 kB / 0.7445 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.112e-05/0.3861, allocations: 10.41 kB / 0.7445 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.3861, allocations: 64 / 0.7445 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of Templates: time 0.002343/0.3884, allocations: 401.5 kB / 0.7449 GB, free: 13.96 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.317159036989324] Failed to read output from testmodel.py, exit status != 0: 0.3955214449670166 0.405498728 0.019210955000000002 Calling exit ...