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.001132/0.001132, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001518/0.001518, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 1.105/1.105, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.002071/0.002071, allocations: 241 kB / 260.5 MB, free: 12.7 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.7414/0.7414, allocations: 138.4 MB / 402.2 MB, free: 0.5508 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.623e-06/1.623e-06, allocations: 0 / 462.4 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.33e-05, allocations: 5.234 kB / 462.4 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002409/0.002432, allocations: 1.599 MB / 464 MB, free: 15.84 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.003553, allocations: 0.7296 MB / 464.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.003608, allocations: 1.469 kB / 464.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.00364, allocations: 6.281 kB / 464.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.658e-05/0.003696, allocations: 7.766 kB / 464.7 MB, free: 15.37 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.004085, allocations: 87.75 kB / 464.8 MB, free: 15.33 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.004192, allocations: 39.55 kB / 464.8 MB, free: 15.32 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.519e-05/0.004287, allocations: 19.11 kB / 464.9 MB, free: 15.3 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.004406, allocations: 26.23 kB / 464.9 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.699e-05/0.004453, allocations: 8.266 kB / 464.9 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.004467, allocations: 5.281 kB / 464.9 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002457/0.004712, allocations: 120.4 kB / 465 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.004728, allocations: 11.31 kB / 465 MB, free: 15.26 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.00475, allocations: 9.047 kB / 465 MB, free: 15.25 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.004938, allocations: 107.9 kB / 465.1 MB, free: 15.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.004941, allocations: 1.75 kB / 465.1 MB, free: 15.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004942, allocations: 0 / 465.1 MB, free: 15.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.004946, allocations: 0 / 465.1 MB, free: 15.21 MB / 426.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.0003203/0.005267, allocations: 266.8 kB / 465.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.005306, allocations: 11.48 kB / 465.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.005429, allocations: 17.53 kB / 465.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.005575, allocations: 123 kB / 465.5 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.005584, allocations: 2 kB / 465.6 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.005591, allocations: 4.484 kB / 465.6 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.927e-05/0.005691, allocations: 66.75 kB / 465.6 MB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.005698, allocations: 0.7188 kB / 465.6 MB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.005704, allocations: 5.938 kB / 465.6 MB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.005711, allocations: 5.188 kB / 465.6 MB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.049e-05/0.005732, allocations: 7.344 kB / 465.6 MB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.005946, allocations: 156.6 kB / 465.8 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.951e-05/0.005986, allocations: 28.36 kB / 465.8 MB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.006001, allocations: 11.53 kB / 465.8 MB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.006169, allocations: 36.34 kB / 465.9 MB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.006192, allocations: 36.5 kB / 465.9 MB, free: 14.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.006193, allocations: 0 / 465.9 MB, free: 14.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001156/0.006309, allocations: 40.83 kB / 465.9 MB, free: 14.49 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.006336, allocations: 57.88 kB / 466 MB, free: 14.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.443e-05/0.0064, allocations: 113.4 kB / 466.1 MB, free: 14.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.00641, allocations: 25.7 kB / 466.1 MB, free: 14.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.268e-05/0.006443, allocations: 94.17 kB / 466.2 MB, free: 14.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.006461, allocations: 9.547 kB / 466.2 MB, free: 14.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.006488, allocations: 14.53 kB / 466.2 MB, free: 14.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.913e-05/0.006567, allocations: 314.8 kB / 466.6 MB, free: 13.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.577e-06/0.006576, allocations: 1.922 kB / 466.6 MB, free: 13.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.148e-06/0.006585, allocations: 2.531 kB / 466.6 MB, free: 13.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.761e-05/0.006612, allocations: 12.2 kB / 466.6 MB, free: 13.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.006614, allocations: 1.125 kB / 466.6 MB, free: 13.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.286e-05/0.006667, allocations: 48.12 kB / 466.6 MB, free: 13.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.006681, allocations: 6.453 kB / 466.6 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.006685, allocations: 1.031 kB / 466.6 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.006698, allocations: 0 / 466.6 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.006751, allocations: 7.5 kB / 466.6 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.006756, allocations: 3.984 kB / 466.6 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.485e-05/0.006771, allocations: 1.672 kB / 466.6 MB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.006776, allocations: 2.484 kB / 466.6 MB, free: 13.8 MB / 426.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 5.666e-05/0.006833, allocations: 111.5 kB / 466.8 MB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.006852, allocations: 10.36 kB / 466.8 MB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.328e-05/0.006935, allocations: 50.61 kB / 466.8 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.006937, allocations: 0 / 466.8 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.006938, allocations: 0 / 466.8 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.006942, allocations: 2.312 kB / 466.8 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.947e-05/0.007031, allocations: 72.53 kB / 466.9 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.007033, allocations: 0 / 466.9 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.029e-05/0.007063, allocations: 4.781 kB / 466.9 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.007065, allocations: 1.906 kB / 466.9 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.00707, allocations: 0.6562 kB / 466.9 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.007073, allocations: 7.406 kB / 466.9 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.007074, allocations: 0 / 466.9 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.972e-05/0.007154, allocations: 132.6 kB / 467 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.007162, allocations: 4.672 kB / 467 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.007171, allocations: 0.7031 kB / 467 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.233e-05/0.007204, allocations: 7.984 kB / 467 MB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.00723, allocations: 6.516 kB / 467 MB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.007233, allocations: 0 / 467 MB, free: 13.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.003e-05/0.007253, allocations: 18.84 kB / 467.1 MB, free: 13.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007253, allocations: 1.688 kB / 467.1 MB, free: 13.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001497/0.007402, allocations: 20.69 kB / 467.1 MB, free: 13.4 MB / 426.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.0001351/0.007537, allocations: 87.16 kB / 467.2 MB, free: 13.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.273e-05/0.0076, allocations: 13.8 kB / 467.2 MB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.007604, allocations: 1.625 kB / 467.2 MB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.494e-05/0.007619, allocations: 14.28 kB / 467.2 MB, free: 13.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.007734, allocations: 5.688 kB / 467.2 MB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.008125, allocations: 139.4 kB / 467.3 MB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.564e-05/0.00816, allocations: 57.75 kB / 467.4 MB, free: 13.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.033e-05/0.008181, allocations: 3.688 kB / 467.4 MB, free: 13.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.008218, allocations: 54.16 kB / 467.5 MB, free: 13.06 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.008219, allocations: 0.6562 kB / 467.5 MB, free: 13.06 MB / 426.7 MB Notification: Performance of Templates: time 0.00232/0.01054, allocations: 0.5769 MB / 468 MB, free: 12.77 MB / 426.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.746851922944188]