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.000956/0.000956, allocations: 92.22 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.001162/0.001162, allocations: 169 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 1.024/1.024, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.002041/0.002041, allocations: 225.9 kB / 260.2 MB, free: 12.84 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.784/0.784, allocations: 138.4 MB / 455.2 MB, free: 1.574 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 2.195e-06/2.195e-06, allocations: 0 / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.255e-05/3.475e-05, allocations: 10.19 kB / 0.5551 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.003099/0.003134, allocations: 1.541 MB / 0.5566 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.004468, allocations: 0.7252 MB / 0.5573 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.00453, allocations: 0 / 0.5573 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.004564, allocations: 3.938 kB / 0.5573 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.793e-05/0.004622, allocations: 11.86 kB / 0.5574 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.005081, allocations: 99.58 kB / 0.5574 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.005188, allocations: 35.86 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.605e-05/0.005284, allocations: 8 kB / 0.5575 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.005413, allocations: 35.89 kB / 0.5575 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.396e-05/0.005457, allocations: 4 kB / 0.5575 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.005472, allocations: 8 kB / 0.5575 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.005681, allocations: 115.8 kB / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.005695, allocations: 4 kB / 0.5577 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.005722, allocations: 15.97 kB / 0.5577 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.005928, allocations: 99.7 kB / 0.5578 GB, free: 13.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.00593, allocations: 0 / 0.5578 GB, free: 13.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005931, allocations: 0 / 0.5578 GB, free: 13.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.005936, allocations: 0 / 0.5578 GB, free: 13.81 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.0004284/0.006365, allocations: 404.2 kB / 0.5581 GB, free: 13.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.006407, allocations: 8.75 kB / 0.5582 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.006557, allocations: 24.83 kB / 0.5582 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.006724, allocations: 120.5 kB / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.006737, allocations: 4.375 kB / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.006753, allocations: 8.359 kB / 0.5583 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.006896, allocations: 58.92 kB / 0.5584 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.006908, allocations: 4.188 kB / 0.5584 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.00692, allocations: 4.375 kB / 0.5584 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.006932, allocations: 3.938 kB / 0.5584 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.984e-05/0.006972, allocations: 11.94 kB / 0.5584 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.007326, allocations: 267.7 kB / 0.5586 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.537e-05/0.007391, allocations: 35 kB / 0.5587 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.418e-05/0.007415, allocations: 11.69 kB / 0.5587 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002141/0.007629, allocations: 36.02 kB / 0.5587 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.007657, allocations: 41.33 kB / 0.5588 GB, free: 12.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/0.007658, allocations: 0 / 0.5588 GB, free: 12.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001788/0.007837, allocations: 41.66 kB / 0.5588 GB, free: 12.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.00787, allocations: 63.52 kB / 0.5589 GB, free: 12.54 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.007972, allocations: 169.9 kB / 0.559 GB, free: 12.35 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.007985, allocations: 25.7 kB / 0.559 GB, free: 12.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.451e-05/0.008039, allocations: 134.9 kB / 0.5592 GB, free: 12.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.008058, allocations: 7.953 kB / 0.5592 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.008093, allocations: 23.36 kB / 0.5592 GB, free: 12.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002815/0.008375, allocations: 492.1 kB / 0.5597 GB, free: 11.65 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.008394, allocations: 4 kB / 0.5597 GB, free: 11.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.327e-05/0.008407, allocations: 7.938 kB / 0.5597 GB, free: 11.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.888e-05/0.008446, allocations: 11.69 kB / 0.5597 GB, free: 11.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.008448, allocations: 4.062 kB / 0.5597 GB, free: 11.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.205e-05/0.00853, allocations: 49.58 kB / 0.5597 GB, free: 11.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.008545, allocations: 4 kB / 0.5598 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.00855, allocations: 0 / 0.5598 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.008566, allocations: 0 / 0.5598 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.108e-05/0.008637, allocations: 11.98 kB / 0.5598 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.008643, allocations: 0 / 0.5598 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.008663, allocations: 4 kB / 0.5598 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.00867, allocations: 3.938 kB / 0.5598 GB, free: 11.54 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 7.377e-05/0.008744, allocations: 160.5 kB / 0.5599 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.008771, allocations: 7.938 kB / 0.5599 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.008898, allocations: 45.31 kB / 0.56 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.008901, allocations: 0 / 0.56 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.008904, allocations: 4 kB / 0.56 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.008907, allocations: 0 / 0.56 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.009039, allocations: 128.6 kB / 0.5601 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.00904, allocations: 0 / 0.5601 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.009076, allocations: 11.92 kB / 0.5601 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.009079, allocations: 0 / 0.5601 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.009085, allocations: 0 / 0.5601 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.009088, allocations: 8.031 kB / 0.5601 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009089, allocations: 0 / 0.5601 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.009216, allocations: 195.8 kB / 0.5603 GB, free: 10.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.009232, allocations: 3.938 kB / 0.5603 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.009247, allocations: 4 kB / 0.5603 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.147e-05/0.009298, allocations: 0 / 0.5603 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.00933, allocations: 3.984 kB / 0.5603 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.009335, allocations: 4 kB / 0.5603 GB, free: 10.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.702e-05/0.009382, allocations: 127.2 kB / 0.5604 GB, free: 10.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009382, allocations: 0 / 0.5604 GB, free: 10.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002754/0.009657, allocations: 23.97 kB / 0.5605 GB, free: 10.76 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.0001931/0.009851, allocations: 111.2 kB / 0.5606 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.607e-05/0.009947, allocations: 19.61 kB / 0.5606 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.009948, allocations: 0 / 0.5606 GB, free: 10.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.124e-05/0.00997, allocations: 11.69 kB / 0.5606 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.01021, allocations: 4 kB / 0.5606 GB, free: 10.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.01079, allocations: 149.3 kB / 0.5607 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.079e-05/0.01083, allocations: 51.36 kB / 0.5608 GB, free: 10.36 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.45e-05/0.01085, allocations: 7.984 kB / 0.5608 GB, free: 10.35 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.01088, allocations: 8.5 kB / 0.5608 GB, free: 10.34 MB / 490.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01088, allocations: 3.938 kB / 0.5608 GB, free: 10.34 MB / 490.7 MB Notification: Performance of Templates: time 0.002945/0.01382, allocations: 0.5602 MB / 0.5614 GB, free: 9.789 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.8301163809373975]