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.001977/0.001977, allocations: 88.05 kB / 19.44 MB, free: 320 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.001949/0.001949, allocations: 173.3 kB / 22.77 MB, free: 1.641 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.563/1.563, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.003131/0.003131, allocations: 241 kB / 259.8 MB, free: 12.86 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 1.229/1.229, allocations: 138.4 MB / 454.7 MB, free: 1.492 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.513e-06/1.513e-06, allocations: 0 / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.198e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.002905/0.002937, allocations: 1.522 MB / 0.5558 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.004312, allocations: 0.7097 MB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.004373, allocations: 4 kB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.0044, allocations: 3.938 kB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.146e-05/0.004462, allocations: 7.922 kB / 0.5565 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.00488, allocations: 99.53 kB / 0.5566 GB, free: 14.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.00499, allocations: 43.84 kB / 0.5567 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.722e-05/0.005078, allocations: 11.98 kB / 0.5567 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.0052, allocations: 23.92 kB / 0.5567 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.729e-05/0.005247, allocations: 11.98 kB / 0.5567 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.005265, allocations: 4 kB / 0.5567 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.005513, allocations: 123.7 kB / 0.5568 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.005529, allocations: 7.938 kB / 0.5568 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.005549, allocations: 4 kB / 0.5568 GB, free: 14.27 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004672/0.006017, allocations: 111.7 kB / 0.5569 GB, free: 14.16 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.006022, allocations: 3.984 kB / 0.557 GB, free: 14.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.006023, allocations: 0 / 0.557 GB, free: 14.16 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.006027, allocations: 4 kB / 0.557 GB, free: 14.16 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.0005321/0.006559, allocations: 395.9 kB / 0.5573 GB, free: 13.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.006594, allocations: 8.75 kB / 0.5573 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001541/0.006748, allocations: 16.89 kB / 0.5574 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.006926, allocations: 128.5 kB / 0.5575 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.006937, allocations: 384 / 0.5575 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.00695, allocations: 8.375 kB / 0.5575 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.007099, allocations: 50.23 kB / 0.5575 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.007108, allocations: 192 / 0.5575 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.007123, allocations: 8.359 kB / 0.5575 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.007129, allocations: 3.938 kB / 0.5575 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.169e-05/0.007221, allocations: 20 kB / 0.5576 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.007618, allocations: 279.6 kB / 0.5578 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.007724, allocations: 47 kB / 0.5579 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.007775, allocations: 19.67 kB / 0.5579 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.008024, allocations: 39.95 kB / 0.5579 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.008059, allocations: 33.39 kB / 0.558 GB, free: 12.99 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.00806, allocations: 0 / 0.558 GB, free: 12.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002725/0.008332, allocations: 65.58 kB / 0.558 GB, free: 12.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.008377, allocations: 59.52 kB / 0.5581 GB, free: 12.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.008519, allocations: 181.9 kB / 0.5583 GB, free: 12.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.00854, allocations: 25.7 kB / 0.5583 GB, free: 12.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.614e-05/0.008626, allocations: 134.9 kB / 0.5584 GB, free: 12.49 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.008642, allocations: 3.953 kB / 0.5584 GB, free: 12.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.008689, allocations: 27.36 kB / 0.5584 GB, free: 12.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002521/0.008941, allocations: 492.1 kB / 0.5589 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.244e-05/0.008984, allocations: 8 kB / 0.5589 GB, free: 11.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.166e-05/0.009016, allocations: 11.98 kB / 0.5589 GB, free: 11.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.335e-05/0.009089, allocations: 27.69 kB / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.009091, allocations: 0 / 0.559 GB, free: 11.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001344/0.009225, allocations: 57.58 kB / 0.559 GB, free: 11.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.009242, allocations: 8 kB / 0.559 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.009246, allocations: 0 / 0.559 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.009259, allocations: 0 / 0.559 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/0.009327, allocations: 11.98 kB / 0.559 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.009331, allocations: 0 / 0.559 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.009357, allocations: 0 / 0.559 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.009363, allocations: 0 / 0.559 GB, free: 11.82 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 0.0001122/0.009475, allocations: 160.6 kB / 0.5592 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.009503, allocations: 7.938 kB / 0.5592 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000157/0.00966, allocations: 61.23 kB / 0.5593 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.009661, allocations: 4 kB / 0.5593 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.009664, allocations: 0 / 0.5593 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.009667, allocations: 0 / 0.5593 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.009834, allocations: 128.6 kB / 0.5594 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.009838, allocations: 4 kB / 0.5594 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.009878, allocations: 7.938 kB / 0.5594 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.00988, allocations: 32 / 0.5594 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.009889, allocations: 8 kB / 0.5594 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.009893, allocations: 3.984 kB / 0.5594 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.009894, allocations: 3.938 kB / 0.5594 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.01012, allocations: 195.9 kB / 0.5596 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.403e-05/0.01013, allocations: 11.89 kB / 0.5596 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.01015, allocations: 4 kB / 0.5596 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.178e-05/0.0102, allocations: 0 / 0.5596 GB, free: 11.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.01024, allocations: 4 kB / 0.5596 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.01025, allocations: 3.984 kB / 0.5596 GB, free: 11.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.565e-05/0.01033, allocations: 135.2 kB / 0.5597 GB, free: 11.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01033, allocations: 0 / 0.5597 GB, free: 11.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.01056, allocations: 15.94 kB / 0.5598 GB, free: 11.01 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.0001759/0.01073, allocations: 107.2 kB / 0.5599 GB, free: 10.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.01087, allocations: 31.67 kB / 0.5599 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01087, allocations: 0 / 0.5599 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-05/0.01092, allocations: 19.62 kB / 0.5599 GB, free: 10.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.01113, allocations: 7.984 kB / 0.5599 GB, free: 10.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.01147, allocations: 145.4 kB / 0.5601 GB, free: 10.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.602e-05/0.01156, allocations: 67.34 kB / 0.5601 GB, free: 10.58 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.2e-05/0.01158, allocations: 0 / 0.5601 GB, free: 10.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.01161, allocations: 16.48 kB / 0.5601 GB, free: 10.56 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01161, allocations: 0 / 0.5601 GB, free: 10.56 MB / 490.7 MB Notification: Performance of Templates: time 0.003302/0.01491, allocations: 0.5483 MB / 0.5607 GB, free: 10.02 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: 5.912396174040623]