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.00161/0.00161, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001191/0.001191, allocations: 173.3 kB / 23.49 MB, free: 1.055 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.9969/0.9969, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.002446/0.002446, allocations: 227 kB / 260.5 MB, free: 12.91 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.8103/0.8103, allocations: 138.4 MB / 455.4 MB, free: 1.531 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.894e-06/1.894e-06, allocations: 0 / 0.555 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.696e-05, allocations: 5.688 kB / 0.555 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.00197/0.001997, allocations: 1.553 MB / 0.5566 GB, free: 15.3 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009012/0.002898, allocations: 0.7174 MB / 0.5573 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.256e-05/0.002951, allocations: 0 / 0.5573 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.002978, allocations: 3.938 kB / 0.5573 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.813e-05/0.003026, allocations: 11.88 kB / 0.5573 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.003401, allocations: 95.64 kB / 0.5574 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.003508, allocations: 47.78 kB / 0.5574 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.564e-05/0.003593, allocations: 4 kB / 0.5574 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.00371, allocations: 31.91 kB / 0.5574 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.237e-05/0.003752, allocations: 11.98 kB / 0.5575 GB, free: 14.37 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.003765, allocations: 4 kB / 0.5575 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.003925, allocations: 111.8 kB / 0.5576 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.003937, allocations: 7.938 kB / 0.5576 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.003959, allocations: 11.98 kB / 0.5576 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.004141, allocations: 107.7 kB / 0.5577 GB, free: 14.13 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004144, allocations: 0 / 0.5577 GB, free: 14.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.004145, allocations: 0 / 0.5577 GB, free: 14.13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.004148, allocations: 0 / 0.5577 GB, free: 14.13 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.0003784/0.004527, allocations: 392.3 kB / 0.5581 GB, free: 13.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.004566, allocations: 8.75 kB / 0.5581 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.004701, allocations: 16.89 kB / 0.5581 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.004845, allocations: 132.4 kB / 0.5582 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.004856, allocations: 4.375 kB / 0.5582 GB, free: 13.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.004865, allocations: 8.375 kB / 0.5582 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.00498, allocations: 58.94 kB / 0.5583 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.004986, allocations: 192 / 0.5583 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.004996, allocations: 4.375 kB / 0.5583 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.005005, allocations: 3.938 kB / 0.5583 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.822e-05/0.005034, allocations: 4 kB / 0.5583 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.005311, allocations: 275.7 kB / 0.5586 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.128e-05/0.005362, allocations: 35 kB / 0.5586 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.005381, allocations: 7.688 kB / 0.5586 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001776/0.005558, allocations: 44.02 kB / 0.5586 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.005582, allocations: 41.33 kB / 0.5587 GB, free: 12.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.005584, allocations: 0 / 0.5587 GB, free: 12.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001554/0.005739, allocations: 37.66 kB / 0.5587 GB, free: 12.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.005769, allocations: 55.41 kB / 0.5588 GB, free: 12.88 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.005847, allocations: 173.9 kB / 0.5589 GB, free: 12.69 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.005857, allocations: 25.7 kB / 0.559 GB, free: 12.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.0059, allocations: 134.9 kB / 0.5591 GB, free: 12.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.005916, allocations: 8.078 kB / 0.5591 GB, free: 12.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.005944, allocations: 23.36 kB / 0.5591 GB, free: 12.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.006061, allocations: 496.1 kB / 0.5596 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.006077, allocations: 4 kB / 0.5596 GB, free: 11.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.161e-05/0.006088, allocations: 3.938 kB / 0.5596 GB, free: 11.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.917e-05/0.006118, allocations: 11.69 kB / 0.5596 GB, free: 11.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006119, allocations: 0 / 0.5596 GB, free: 11.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.159e-05/0.006181, allocations: 53.58 kB / 0.5597 GB, free: 11.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.006194, allocations: 7.125 kB / 0.5597 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.006198, allocations: 4.094 kB / 0.5597 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.00621, allocations: 0 / 0.5597 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.46e-05/0.006264, allocations: 4 kB / 0.5597 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.006271, allocations: 3.984 kB / 0.5597 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.522e-05/0.006286, allocations: 4 kB / 0.5597 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.006291, allocations: 0 / 0.5597 GB, free: 11.88 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.48e-05/0.006356, allocations: 156.5 kB / 0.5598 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.006373, allocations: 11.92 kB / 0.5598 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.006477, allocations: 49.25 kB / 0.5599 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.006479, allocations: 0 / 0.5599 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.006483, allocations: 4.031 kB / 0.5599 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.006488, allocations: 4 kB / 0.5599 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.006622, allocations: 128.6 kB / 0.56 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.006623, allocations: 0 / 0.56 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.43e-05/0.006658, allocations: 11.92 kB / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.006662, allocations: 4 kB / 0.56 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.006668, allocations: 0 / 0.56 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.006669, allocations: 0 / 0.56 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.00667, allocations: 0 / 0.56 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.006789, allocations: 191.8 kB / 0.5602 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-06/0.006798, allocations: 11.97 kB / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.006809, allocations: 0 / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.725e-05/0.006856, allocations: 4 kB / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.006888, allocations: 3.984 kB / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.006891, allocations: 0 / 0.5602 GB, free: 11.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.677e-05/0.006938, allocations: 127.6 kB / 0.5604 GB, free: 11.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.006938, allocations: 0 / 0.5604 GB, free: 11.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002517/0.007189, allocations: 23.94 kB / 0.5604 GB, free: 11.1 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.0001505/0.00734, allocations: 111.2 kB / 0.5605 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003107/0.01045, allocations: 23.61 kB / 0.5605 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01045, allocations: 0 / 0.5605 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.348e-05/0.01047, allocations: 11.69 kB / 0.5605 GB, free: 10.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.01069, allocations: 8 kB / 0.5605 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.01119, allocations: 141.2 kB / 0.5607 GB, free: 10.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.746e-05/0.01122, allocations: 55.36 kB / 0.5607 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.172e-05/0.01125, allocations: 4.125 kB / 0.5607 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.01128, allocations: 16.48 kB / 0.5607 GB, free: 10.67 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01128, allocations: 0 / 0.5607 GB, free: 10.67 MB / 490.7 MB Notification: Performance of Templates: time 0.005618/0.01689, allocations: 0.5599 MB / 0.5613 GB, free: 10.12 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.8011728280689567]