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.001024/0.001024, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009387/0.0009387, allocations: 173 kB / 23.02 MB, free: 1.547 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.042/1.042, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.005106/0.005106, allocations: 241.6 kB / 260.2 MB, free: 12.82 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.7056/0.7056, allocations: 138.4 MB / 455.2 MB, free: 1.555 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.372e-06/1.372e-06, allocations: 0 / 0.5551 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.226e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002359/0.002381, allocations: 1.561 MB / 0.5566 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.003455, allocations: 0.7135 MB / 0.5573 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.003506, allocations: 8 kB / 0.5573 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.003539, allocations: 3.938 kB / 0.5574 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.499e-05/0.003594, allocations: 7.875 kB / 0.5574 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.003996, allocations: 99.58 kB / 0.5575 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.004102, allocations: 43.84 kB / 0.5575 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.982e-05/0.004191, allocations: 8 kB / 0.5575 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.004302, allocations: 23.91 kB / 0.5575 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.507e-05/0.004347, allocations: 15.98 kB / 0.5575 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.004361, allocations: 4 kB / 0.5575 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001983/0.00456, allocations: 115.8 kB / 0.5577 GB, free: 13.9 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.004576, allocations: 7.938 kB / 0.5577 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.004598, allocations: 11.98 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.004798, allocations: 99.7 kB / 0.5578 GB, free: 13.78 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.004801, allocations: 3.984 kB / 0.5578 GB, free: 13.78 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004802, allocations: 0 / 0.5578 GB, free: 13.78 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.004806, allocations: 0 / 0.5578 GB, free: 13.78 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.0003967/0.005203, allocations: 396.3 kB / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.005244, allocations: 8.75 kB / 0.5582 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.005378, allocations: 20.83 kB / 0.5582 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.005525, allocations: 128.5 kB / 0.5583 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.005534, allocations: 4.312 kB / 0.5583 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.005546, allocations: 4.375 kB / 0.5583 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.005672, allocations: 58.94 kB / 0.5584 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.00568, allocations: 192 / 0.5584 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.005689, allocations: 384 / 0.5584 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.005698, allocations: 7.938 kB / 0.5584 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.413e-05/0.005732, allocations: 7.938 kB / 0.5584 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.006037, allocations: 271.7 kB / 0.5586 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.917e-05/0.006096, allocations: 39 kB / 0.5587 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.006117, allocations: 7.688 kB / 0.5587 GB, free: 12.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/0.00631, allocations: 36.03 kB / 0.5587 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.006337, allocations: 45.31 kB / 0.5588 GB, free: 12.63 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.006338, allocations: 0 / 0.5588 GB, free: 12.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001655/0.006504, allocations: 41.66 kB / 0.5588 GB, free: 12.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.006533, allocations: 51.41 kB / 0.5589 GB, free: 12.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.531e-05/0.006628, allocations: 174 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.00664, allocations: 25.7 kB / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.006691, allocations: 138.9 kB / 0.5592 GB, free: 12.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.006706, allocations: 3.953 kB / 0.5592 GB, free: 12.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.00674, allocations: 19.38 kB / 0.5592 GB, free: 12.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.006864, allocations: 0.4884 MB / 0.5597 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.495e-05/0.006879, allocations: 3.938 kB / 0.5597 GB, free: 11.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.043e-05/0.00689, allocations: 4 kB / 0.5597 GB, free: 11.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.006922, allocations: 15.69 kB / 0.5597 GB, free: 11.61 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.006924, allocations: 4.062 kB / 0.5597 GB, free: 11.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.129e-05/0.006995, allocations: 49.58 kB / 0.5598 GB, free: 11.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.007008, allocations: 6.969 kB / 0.5598 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.007012, allocations: 0 / 0.5598 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.007024, allocations: 0 / 0.5598 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.549e-05/0.007079, allocations: 4 kB / 0.5598 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.007084, allocations: 0 / 0.5598 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.007104, allocations: 4 kB / 0.5598 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.007111, allocations: 7.922 kB / 0.5598 GB, free: 11.53 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.517e-05/0.007176, allocations: 152.6 kB / 0.5599 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.007204, allocations: 15.97 kB / 0.5599 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.237e-05/0.007296, allocations: 45.31 kB / 0.56 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.007298, allocations: 3.938 kB / 0.56 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.007301, allocations: 0 / 0.56 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.007304, allocations: 0 / 0.56 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.007427, allocations: 124.6 kB / 0.5601 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.007428, allocations: 0 / 0.5601 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.591e-05/0.007454, allocations: 15.92 kB / 0.5601 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.007455, allocations: 0 / 0.5601 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.007461, allocations: 4 kB / 0.5601 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.007462, allocations: 4.031 kB / 0.5601 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.007463, allocations: 0 / 0.5601 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.007577, allocations: 195.8 kB / 0.5603 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-06/0.007584, allocations: 3.938 kB / 0.5603 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.007594, allocations: 0 / 0.5603 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.063e-05/0.007645, allocations: 7.984 kB / 0.5603 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.007671, allocations: 0 / 0.5603 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.007674, allocations: 0 / 0.5603 GB, free: 10.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.865e-05/0.007723, allocations: 139.5 kB / 0.5605 GB, free: 10.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007723, allocations: 0 / 0.5605 GB, free: 10.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.007982, allocations: 15.95 kB / 0.5605 GB, free: 10.75 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.0001263/0.008108, allocations: 119.3 kB / 0.5606 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.105e-05/0.008189, allocations: 19.61 kB / 0.5606 GB, free: 10.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.00819, allocations: 0 / 0.5606 GB, free: 10.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.029e-05/0.008211, allocations: 15.69 kB / 0.5606 GB, free: 10.58 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.008437, allocations: 4 kB / 0.5606 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.008894, allocations: 145.3 kB / 0.5608 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.932e-05/0.008933, allocations: 55.36 kB / 0.5608 GB, free: 10.33 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.108e-05/0.008954, allocations: 4 kB / 0.5608 GB, free: 10.33 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.008976, allocations: 8.5 kB / 0.5608 GB, free: 10.32 MB / 490.7 MB Notification: Performance of SimCode: time 4.3e-07/0.008977, allocations: 0 / 0.5608 GB, free: 10.32 MB / 490.7 MB Notification: Performance of Templates: time 0.002578/0.01156, allocations: 0.5988 MB / 0.5614 GB, free: 9.73 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.718673750758171]