Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.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.001313/0.001313, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001001/0.001001, allocations: 170 kB / 23.27 MB, free: 1.223 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.9667/0.9667, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.001693/0.001693, allocations: 240.7 kB / 260.5 MB, free: 12.67 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.7077/0.7077, allocations: 138.4 MB / 455.5 MB, free: 1.438 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.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 3.938 kB / 0.5556 GB, free: 252 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.818e-05, allocations: 5.688 kB / 0.5556 GB, free: 248 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.001841/0.001859, allocations: 1.541 MB / 0.5571 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009051/0.002764, allocations: 0.7174 MB / 0.5578 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.002821, allocations: 0 / 0.5578 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.002846, allocations: 3.938 kB / 0.5578 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.787e-05/0.002894, allocations: 3.938 kB / 0.5578 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.003203, allocations: 99.52 kB / 0.5579 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.003304, allocations: 39.86 kB / 0.558 GB, free: 13.82 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.667e-05/0.003391, allocations: 15.98 kB / 0.558 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.003491, allocations: 27.97 kB / 0.558 GB, free: 13.77 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.872e-05/0.00353, allocations: 11.92 kB / 0.558 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.003541, allocations: 4 kB / 0.558 GB, free: 13.76 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.003683, allocations: 107.8 kB / 0.5581 GB, free: 13.65 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.003694, allocations: 7.984 kB / 0.5581 GB, free: 13.64 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.783e-05/0.003712, allocations: 15.92 kB / 0.5581 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.003853, allocations: 103.6 kB / 0.5582 GB, free: 13.53 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003854, allocations: 0 / 0.5582 GB, free: 13.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003855, allocations: 0 / 0.5582 GB, free: 13.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.003858, allocations: 4 kB / 0.5582 GB, free: 13.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003141/0.004172, allocations: 396.3 kB / 0.5586 GB, free: 13.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.004213, allocations: 8.75 kB / 0.5586 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.004315, allocations: 20.88 kB / 0.5587 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.004421, allocations: 124.5 kB / 0.5588 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.00443, allocations: 8.375 kB / 0.5588 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-06/0.004435, allocations: 384 / 0.5588 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.511e-05/0.00452, allocations: 58.89 kB / 0.5588 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.004527, allocations: 192 / 0.5588 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.004533, allocations: 4.375 kB / 0.5588 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.004538, allocations: 7.938 kB / 0.5588 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.707e-05/0.004555, allocations: 7.984 kB / 0.5589 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.004758, allocations: 248.4 kB / 0.5591 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.725e-05/0.004795, allocations: 31 kB / 0.5591 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.00481, allocations: 15.75 kB / 0.5591 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.00495, allocations: 43.88 kB / 0.5592 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.004974, allocations: 41.39 kB / 0.5592 GB, free: 12.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.004975, allocations: 0 / 0.5592 GB, free: 12.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001192/0.005095, allocations: 49.58 kB / 0.5593 GB, free: 12.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.005119, allocations: 51.41 kB / 0.5593 GB, free: 12.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.779e-05/0.005197, allocations: 166 kB / 0.5595 GB, free: 12.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.005206, allocations: 25.7 kB / 0.5595 GB, free: 12.08 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.939e-05/0.005255, allocations: 138.9 kB / 0.5596 GB, free: 11.94 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.00527, allocations: 7.891 kB / 0.5596 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.005295, allocations: 23.36 kB / 0.5597 GB, free: 11.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.005413, allocations: 496.1 kB / 0.5601 GB, free: 11.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-06/0.005423, allocations: 4.125 kB / 0.5601 GB, free: 11.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-06/0.005431, allocations: 4 kB / 0.5601 GB, free: 11.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.237e-05/0.005453, allocations: 15.69 kB / 0.5602 GB, free: 11.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.005455, allocations: 0 / 0.5602 GB, free: 11.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.566e-05/0.0055, allocations: 49.52 kB / 0.5602 GB, free: 11.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.005512, allocations: 10.66 kB / 0.5602 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.005517, allocations: 0 / 0.5602 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.005528, allocations: 0 / 0.5602 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.442e-05/0.005572, allocations: 7.984 kB / 0.5602 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.005575, allocations: 0 / 0.5602 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.336e-05/0.005588, allocations: 8.078 kB / 0.5602 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.005594, allocations: 4 kB / 0.5602 GB, free: 11.29 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 (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 6.152e-05/0.005655, allocations: 152.6 kB / 0.5604 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.005669, allocations: 7.938 kB / 0.5604 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.924e-05/0.005738, allocations: 49.25 kB / 0.5604 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.005739, allocations: 0 / 0.5604 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.00574, allocations: 0 / 0.5604 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.005743, allocations: 0 / 0.5604 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.5e-05/0.005828, allocations: 113.2 kB / 0.5605 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.005828, allocations: 0 / 0.5605 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.528e-05/0.005844, allocations: 8.031 kB / 0.5605 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.005844, allocations: 0 / 0.5605 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.00585, allocations: 7.922 kB / 0.5606 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4e-07/0.00585, allocations: 0 / 0.5606 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005851, allocations: 0 / 0.5606 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.149e-05/0.005922, allocations: 183.9 kB / 0.5607 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-06/0.00593, allocations: 11.98 kB / 0.5607 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-06/0.005938, allocations: 3.938 kB / 0.5607 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.554e-05/0.005964, allocations: 0 / 0.5607 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.005983, allocations: 3.938 kB / 0.5608 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.005988, allocations: 12.03 kB / 0.5608 GB, free: 10.69 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.41e-05/0.006022, allocations: 127.2 kB / 0.5609 GB, free: 10.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006022, allocations: 0 / 0.5609 GB, free: 10.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001524/0.006174, allocations: 19.89 kB / 0.5609 GB, free: 10.55 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 (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.0001052/0.00628, allocations: 115.2 kB / 0.561 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.155e-05/0.006331, allocations: 11.69 kB / 0.561 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.006332, allocations: 0 / 0.561 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.412e-05/0.006346, allocations: 15.67 kB / 0.561 GB, free: 10.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.006481, allocations: 12.12 kB / 0.5611 GB, free: 10.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.006792, allocations: 141 kB / 0.5612 GB, free: 10.22 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.994e-05/0.006822, allocations: 59.34 kB / 0.5612 GB, free: 10.14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.487e-05/0.006837, allocations: 4 kB / 0.5612 GB, free: 10.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.006871, allocations: 70.2 kB / 0.5613 GB, free: 10.07 MB / 490.7 MB Notification: Performance of SimCode: time 3.51e-07/0.006872, allocations: 0 / 0.5613 GB, free: 10.07 MB / 490.7 MB Notification: Performance of Templates: time 0.001828/0.0087, allocations: 0.605 MB / 0.5619 GB, free: 9.465 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.462058240082115]