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.001579/0.001579, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001903/0.001903, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.008/1.008, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.002577/0.002577, allocations: 241.9 kB / 261.3 MB, free: 12.66 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.7521/0.7521, allocations: 138.4 MB / 456.3 MB, free: 1.359 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.663e-06/1.663e-06, allocations: 0 / 0.5564 GB, free: 192 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.636e-05, allocations: 5.828 kB / 0.5564 GB, free: 188 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002907/0.002934, allocations: 1.549 MB / 0.5579 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.004109, allocations: 0.7174 MB / 0.5586 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.849e-05/0.004167, allocations: 0 / 0.5586 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.004199, allocations: 3.938 kB / 0.5586 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.477e-05/0.004254, allocations: 7.875 kB / 0.5586 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.004652, allocations: 95.64 kB / 0.5587 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.004759, allocations: 43.84 kB / 0.5587 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.081e-05/0.00485, allocations: 7.984 kB / 0.5587 GB, free: 13.74 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.004966, allocations: 27.92 kB / 0.5588 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.005015, allocations: 15.98 kB / 0.5588 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.00503, allocations: 4 kB / 0.5588 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.005239, allocations: 115.8 kB / 0.5589 GB, free: 13.58 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.005253, allocations: 3.938 kB / 0.5589 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.005273, allocations: 11.98 kB / 0.5589 GB, free: 13.56 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.005478, allocations: 111.6 kB / 0.559 GB, free: 13.45 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.005481, allocations: 0 / 0.559 GB, free: 13.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005482, allocations: 0 / 0.559 GB, free: 13.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.005487, allocations: 0 / 0.559 GB, free: 13.45 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.0004117/0.005899, allocations: 396.3 kB / 0.5594 GB, free: 13.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.005938, allocations: 8.75 kB / 0.5594 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.006092, allocations: 20.89 kB / 0.5594 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.00625, allocations: 120.5 kB / 0.5595 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.006261, allocations: 8.312 kB / 0.5595 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.006271, allocations: 4.312 kB / 0.5595 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.006398, allocations: 62.92 kB / 0.5596 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.006415, allocations: 192 / 0.5596 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.006424, allocations: 4.375 kB / 0.5596 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.006434, allocations: 3.938 kB / 0.5596 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.245e-05/0.006466, allocations: 7.984 kB / 0.5596 GB, free: 12.76 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005838/0.00705, allocations: 256.3 kB / 0.5599 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.371e-05/0.007114, allocations: 35.11 kB / 0.5599 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.831e-05/0.007132, allocations: 11.75 kB / 0.5599 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001971/0.007329, allocations: 39.91 kB / 0.56 GB, free: 12.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.007359, allocations: 33.39 kB / 0.56 GB, free: 12.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 2.384e-06/0.007361, allocations: 0 / 0.56 GB, free: 12.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000165/0.007526, allocations: 45.58 kB / 0.56 GB, free: 12.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.007559, allocations: 59.53 kB / 0.5601 GB, free: 12.22 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.705e-05/0.007656, allocations: 169.9 kB / 0.5602 GB, free: 12.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.00767, allocations: 25.7 kB / 0.5603 GB, free: 12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.007726, allocations: 134.9 kB / 0.5604 GB, free: 11.87 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.007745, allocations: 3.953 kB / 0.5604 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.007784, allocations: 23.38 kB / 0.5604 GB, free: 11.83 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.007929, allocations: 496.1 kB / 0.5609 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.007943, allocations: 3.984 kB / 0.5609 GB, free: 11.33 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.147e-05/0.007955, allocations: 4 kB / 0.5609 GB, free: 11.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.264e-05/0.007987, allocations: 11.75 kB / 0.5609 GB, free: 11.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.007989, allocations: 4 kB / 0.5609 GB, free: 11.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.992e-05/0.008069, allocations: 45.53 kB / 0.561 GB, free: 11.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.008084, allocations: 8 kB / 0.561 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.008091, allocations: 3.984 kB / 0.561 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.008101, allocations: 0 / 0.561 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.518e-05/0.008166, allocations: 8 kB / 0.561 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.008169, allocations: 0 / 0.561 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.182e-05/0.008191, allocations: 0 / 0.561 GB, free: 11.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.008199, allocations: 4 kB / 0.561 GB, free: 11.23 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 8.578e-05/0.008285, allocations: 156.6 kB / 0.5611 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.75e-05/0.008312, allocations: 7.938 kB / 0.5611 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.008424, allocations: 53.23 kB / 0.5612 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.008425, allocations: 3.938 kB / 0.5612 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.008427, allocations: 0 / 0.5612 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.00843, allocations: 0 / 0.5612 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.008575, allocations: 109.2 kB / 0.5613 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.008576, allocations: 0 / 0.5613 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.008617, allocations: 7.984 kB / 0.5613 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.00862, allocations: 0 / 0.5613 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.008626, allocations: 3.969 kB / 0.5613 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.008628, allocations: 4 kB / 0.5613 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.008629, allocations: 0 / 0.5613 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.00877, allocations: 191.9 kB / 0.5615 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-06/0.008778, allocations: 0 / 0.5615 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.00879, allocations: 7.938 kB / 0.5615 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.663e-05/0.008847, allocations: 0 / 0.5615 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.008873, allocations: 7.922 kB / 0.5615 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.008879, allocations: 4 kB / 0.5615 GB, free: 10.63 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.825e-05/0.008927, allocations: 123.2 kB / 0.5616 GB, free: 10.51 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008927, allocations: 0 / 0.5616 GB, free: 10.51 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002955/0.009222, allocations: 23.97 kB / 0.5617 GB, free: 10.48 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.0001645/0.009387, allocations: 115.2 kB / 0.5618 GB, free: 10.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.676e-05/0.009464, allocations: 15.67 kB / 0.5618 GB, free: 10.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.009466, allocations: 0 / 0.5618 GB, free: 10.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.867e-05/0.009484, allocations: 11.69 kB / 0.5618 GB, free: 10.33 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.009729, allocations: 4 kB / 0.5618 GB, free: 10.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.0102, allocations: 149.3 kB / 0.5619 GB, free: 10.15 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.118e-05/0.01024, allocations: 55.36 kB / 0.562 GB, free: 10.08 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.589e-05/0.01027, allocations: 4 kB / 0.562 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.01032, allocations: 70.19 kB / 0.5621 GB, free: 10 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01032, allocations: 0 / 0.5621 GB, free: 10 MB / 490.7 MB Notification: Performance of Templates: time 0.002993/0.01331, allocations: 0.6151 MB / 0.5627 GB, free: 9.391 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.585040948819369]