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.0007033/0.0007033, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009614/0.001665, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001437/0.001437, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001607/0.003044, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9977/0.9977, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08751/1.085, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001383/0.001383, allocations: 230.4 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001424/0.002806, allocations: 475.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6773/0.6773, allocations: 138.7 MB / 384.3 MB, free: 344 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07121/0.7485, allocations: 42.39 MB / 426.7 MB, free: 5.828 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.443e-06/1.443e-06, allocations: 0 / 428.1 MB, free: 4.461 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.752e-05, allocations: 2.312 kB / 428.1 MB, free: 4.457 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002268/0.002286, allocations: 1.604 MB / 429.7 MB, free: 2.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009289/0.003214, allocations: 0.7172 MB / 430.4 MB, free: 2.113 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.003264, allocations: 8 kB / 430.4 MB, free: 2.105 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.003286, allocations: 3.938 kB / 430.4 MB, free: 2.102 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.786e-05/0.003314, allocations: 7.922 kB / 430.4 MB, free: 2.094 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.003562, allocations: 91.47 kB / 430.5 MB, free: 2.004 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.331e-05/0.003656, allocations: 39.86 kB / 430.5 MB, free: 1.965 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.775e-05/0.003733, allocations: 15.97 kB / 430.6 MB, free: 1.949 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.003834, allocations: 27.92 kB / 430.6 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.287e-05/0.003877, allocations: 7.984 kB / 430.6 MB, free: 1.914 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.003889, allocations: 8 kB / 430.6 MB, free: 1.906 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.004079, allocations: 131.8 kB / 430.7 MB, free: 1.777 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.004094, allocations: 7.938 kB / 430.7 MB, free: 1.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/0.004111, allocations: 8 kB / 430.7 MB, free: 1.762 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.004263, allocations: 91.75 kB / 430.8 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.276e-05/0.004276, allocations: 0 / 430.8 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.004278, allocations: 3.984 kB / 430.8 MB, free: 1.668 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.004289, allocations: 0 / 430.8 MB, free: 1.668 MB / 410.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.0004113/0.0047, allocations: 284.2 kB / 431.1 MB, free: 1.367 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.00473, allocations: 15.92 kB / 431.1 MB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.004876, allocations: 94.03 kB / 431.2 MB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.005011, allocations: 117.7 kB / 431.3 MB, free: 1.102 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.005019, allocations: 4.375 kB / 431.3 MB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.005029, allocations: 4.375 kB / 431.3 MB, free: 1.094 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.833e-05/0.005118, allocations: 54.94 kB / 431.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.005125, allocations: 192 / 431.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-06/0.005132, allocations: 4.375 kB / 431.4 MB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.005138, allocations: 7.938 kB / 431.4 MB, free: 1.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.027e-05/0.005158, allocations: 15.91 kB / 431.4 MB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/0.005352, allocations: 160.2 kB / 431.6 MB, free: 0.832 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.95e-05/0.005391, allocations: 26.64 kB / 431.6 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.11e-05/0.005403, allocations: 4.859 kB / 431.6 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.005545, allocations: 40.03 kB / 431.7 MB, free: 0.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.005571, allocations: 42.42 kB / 431.7 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.005572, allocations: 0 / 431.7 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.000102/0.005674, allocations: 33.7 kB / 431.7 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.005697, allocations: 51.53 kB / 431.8 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.519e-05/0.005752, allocations: 118.7 kB / 431.9 MB, free: 480 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.005761, allocations: 25.7 kB / 431.9 MB, free: 448 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.005793, allocations: 92.08 kB / 432 MB, free: 352 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.005811, allocations: 11.94 kB / 432 MB, free: 340 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.005831, allocations: 13.72 kB / 432 MB, free: 320 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.1895/0.1953, allocations: 314.8 kB / 432.3 MB, free: 1.953 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.844e-05/0.1953, allocations: 1.406 kB / 432.3 MB, free: 1.953 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.132e-05/0.1953, allocations: 1.688 kB / 432.3 MB, free: 1.953 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.569e-05/0.1954, allocations: 11.52 kB / 432.4 MB, free: 1.945 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1954, allocations: 2.5 kB / 432.4 MB, free: 1.945 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.425e-05/0.1954, allocations: 38.34 kB / 432.4 MB, free: 1.914 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1955, allocations: 7.812 kB / 432.4 MB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1955, allocations: 1.047 kB / 432.4 MB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.1955, allocations: 1.562 kB / 432.4 MB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.348e-05/0.1956, allocations: 5.672 kB / 432.4 MB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.1956, allocations: 1.688 kB / 432.4 MB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.1956, allocations: 2.75 kB / 432.4 MB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1956, allocations: 3.609 kB / 432.4 MB, free: 1.914 MB / 410.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 4.243e-05/0.1956, allocations: 110.1 kB / 432.5 MB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.1957, allocations: 5.031 kB / 432.5 MB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.205e-05/0.1957, allocations: 47.25 kB / 432.6 MB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1957, allocations: 1.062 kB / 432.6 MB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.1957, allocations: 6.984 kB / 432.6 MB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1957, allocations: 0 / 432.6 MB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.64e-05/0.1958, allocations: 73.16 kB / 432.7 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1958, allocations: 0 / 432.7 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.713e-05/0.1959, allocations: 7.781 kB / 432.7 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.1959, allocations: 6.391 kB / 432.7 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1959, allocations: 4.656 kB / 432.7 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-06/0.1959, allocations: 2.203 kB / 432.7 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.1959, allocations: 0 / 432.7 MB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1959, allocations: 5.594 kB / 432.7 MB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.151e-05/0.1959, allocations: 127.7 kB / 432.8 MB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-06/0.1959, allocations: 8.453 kB / 432.8 MB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.698e-05/0.196, allocations: 1.188 kB / 432.8 MB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.196, allocations: 1.875 kB / 432.8 MB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.196, allocations: 1.969 kB / 432.8 MB, free: 1.559 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.096e-05/0.196, allocations: 22.58 kB / 432.8 MB, free: 1.547 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.196, allocations: 1.125 kB / 432.8 MB, free: 1.547 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001423/0.1961, allocations: 15.75 kB / 432.9 MB, free: 1.547 MB / 410.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.00014/0.1963, allocations: 93.97 kB / 433 MB, free: 1.477 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.611e-05/0.1963, allocations: 17.09 kB / 433 MB, free: 1.469 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.1964, allocations: 1.781 kB / 433 MB, free: 1.469 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.189e-05/0.1964, allocations: 10.02 kB / 433 MB, free: 1.461 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.1965, allocations: 10.16 kB / 433 MB, free: 1.461 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/0.1971, allocations: 147.5 kB / 433.1 MB, free: 1.352 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.068e-05/0.1971, allocations: 57.31 kB / 433.2 MB, free: 1.281 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.867e-05/0.1971, allocations: 3.812 kB / 433.2 MB, free: 1.281 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.1972, allocations: 53.72 kB / 433.2 MB, free: 1.238 MB / 410.7 MB Notification: Performance of SimCode: time 6.82e-07/0.1972, allocations: 0 / 433.2 MB, free: 1.238 MB / 410.7 MB Notification: Performance of Templates: time 0.002023/0.1992, allocations: 0.5815 MB / 433.8 MB, free: 1.234 MB / 410.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.4164077648893]