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.001206/0.001206, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.001465/0.001465, allocations: 173 kB / 23.02 MB, free: 1.551 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.8998/0.8998, allocations: 177.2 MB / 203.4 MB, free: 5.637 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.002038/0.002038, allocations: 232.6 kB / 260.2 MB, free: 12.83 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.7531/0.7531, allocations: 138.4 MB / 455.2 MB, free: 1.531 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: 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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5552 GB, free: 456 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.58e-05, allocations: 6.25 kB / 0.5552 GB, free: 448 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0012/0.001226, allocations: 0.5964 MB / 0.5558 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.00277, allocations: 1.318 MB / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.516e-05/0.002785, allocations: 4 kB / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.002802, allocations: 0 / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.452e-06/0.002809, allocations: 0 / 0.5571 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.003185, allocations: 75.62 kB / 0.5571 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.502e-05/0.00323, allocations: 0 / 0.5571 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.159e-05/0.003272, allocations: 7.984 kB / 0.5571 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.299e-05/0.003295, allocations: 3.938 kB / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.048e-05/0.003335, allocations: 3.984 kB / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.003347, allocations: 0 / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002467/0.003594, allocations: 107.8 kB / 0.5572 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.737e-06/0.003602, allocations: 4 kB / 0.5573 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.566e-05/0.003618, allocations: 0 / 0.5573 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.003747, allocations: 75.84 kB / 0.5573 GB, free: 14.23 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.00375, allocations: 0 / 0.5573 GB, free: 14.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.00375, allocations: 0 / 0.5573 GB, free: 14.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.003755, allocations: 0 / 0.5573 GB, free: 14.23 MB / 490.7 MB 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.0002566/0.004011, allocations: 356.2 kB / 0.5577 GB, free: 13.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.004058, allocations: 8.75 kB / 0.5577 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.00409, allocations: 0.9375 kB / 0.5577 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.159e-05/0.004142, allocations: 108.6 kB / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.004151, allocations: 4.375 kB / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.00416, allocations: 4.375 kB / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.751e-05/0.004238, allocations: 34.19 kB / 0.5578 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.004244, allocations: 192 / 0.5578 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.004252, allocations: 4.375 kB / 0.5578 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.00426, allocations: 7.922 kB / 0.5578 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.299e-05/0.004273, allocations: 0 / 0.5578 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.004434, allocations: 108.6 kB / 0.5579 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.892e-05/0.004473, allocations: 23.06 kB / 0.558 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.542e-05/0.004489, allocations: 7.688 kB / 0.558 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/0.00474, allocations: 44.06 kB / 0.558 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.004761, allocations: 45.31 kB / 0.558 GB, free: 13.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.004762, allocations: 0 / 0.558 GB, free: 13.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001095/0.004871, allocations: 33.7 kB / 0.5581 GB, free: 13.32 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.004899, allocations: 55.34 kB / 0.5581 GB, free: 13.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.541e-05/0.004934, allocations: 142.2 kB / 0.5583 GB, free: 13.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.467e-06/0.004944, allocations: 25.7 kB / 0.5583 GB, free: 13.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/0.004969, allocations: 131 kB / 0.5584 GB, free: 12.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.004992, allocations: 4.297 kB / 0.5584 GB, free: 12.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.005013, allocations: 19.38 kB / 0.5584 GB, free: 12.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.005127, allocations: 0.4884 MB / 0.5589 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.255e-06/0.005136, allocations: 0 / 0.5589 GB, free: 12.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-06/0.005142, allocations: 7.938 kB / 0.5589 GB, free: 12.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.408e-05/0.005166, allocations: 7.688 kB / 0.5589 GB, free: 12.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.005168, allocations: 4 kB / 0.5589 GB, free: 12.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.799e-05/0.005206, allocations: 29.7 kB / 0.559 GB, free: 12.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.005217, allocations: 4.094 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.005222, allocations: 4 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.005232, allocations: 0 / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.87e-05/0.005331, allocations: 4 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.005346, allocations: 7.922 kB / 0.559 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.005361, allocations: 3.938 kB / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.005372, allocations: 3.984 kB / 0.559 GB, free: 12.32 MB / 490.7 MB 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 9.763e-05/0.005469, allocations: 160.6 kB / 0.5591 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.005484, allocations: 3.938 kB / 0.5591 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.005613, allocations: 36.7 kB / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.005615, allocations: 0 / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.005621, allocations: 4 kB / 0.5592 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.005627, allocations: 7.922 kB / 0.5592 GB, free: 12.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.393e-05/0.005711, allocations: 104.6 kB / 0.5593 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.005713, allocations: 0 / 0.5593 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.976e-05/0.005732, allocations: 8 kB / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.005735, allocations: 0 / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.005742, allocations: 0 / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.005744, allocations: 0 / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.005745, allocations: 4.031 kB / 0.5593 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.97e-05/0.005825, allocations: 80.31 kB / 0.5594 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-06/0.005832, allocations: 3.938 kB / 0.5594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.005843, allocations: 0 / 0.5594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-06/0.005851, allocations: 0 / 0.5594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.005869, allocations: 4 kB / 0.5594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.005873, allocations: 0 / 0.5594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.168e-05/0.005914, allocations: 123.1 kB / 0.5595 GB, free: 11.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.005914, allocations: 0 / 0.5595 GB, free: 11.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00025/0.006164, allocations: 8 kB / 0.5595 GB, free: 11.71 MB / 490.7 MB 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.0001569/0.006321, allocations: 127.2 kB / 0.5596 GB, free: 11.58 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.217e-05/0.006383, allocations: 11.69 kB / 0.5596 GB, free: 11.56 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.006385, allocations: 0 / 0.5596 GB, free: 11.56 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.985e-06/0.006393, allocations: 19.61 kB / 0.5597 GB, free: 11.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.041e-05/0.006483, allocations: 0 / 0.5597 GB, free: 11.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001582/0.006641, allocations: 87.94 kB / 0.5597 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.885e-05/0.00667, allocations: 51.36 kB / 0.5598 GB, free: 11.36 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.587e-05/0.006686, allocations: 4.125 kB / 0.5598 GB, free: 11.35 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.417e-05/0.0067, allocations: 8.5 kB / 0.5598 GB, free: 11.34 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006701, allocations: 3.938 kB / 0.5598 GB, free: 11.34 MB / 490.7 MB Notification: Performance of Templates: time 0.001853/0.008554, allocations: 468.2 kB / 0.5603 GB, free: 10.88 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.494582798331976]