Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.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.0008497/0.0008497, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001057/0.001057, allocations: 169 kB / 23.27 MB, free: 1.223 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.03/1.03, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.001687/0.001687, allocations: 249.7 kB / 260.5 MB, free: 12.68 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.7339/0.7339, allocations: 138.4 MB / 455.5 MB, free: 30.05 MB / 410.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.5556 GB, free: 15.82 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.237e-05, allocations: 4.609 kB / 0.5556 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001714/0.001746, allocations: 0.6008 MB / 0.5562 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.003638, allocations: 1.314 MB / 0.5575 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.003661, allocations: 0 / 0.5575 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/0.00368, allocations: 3.938 kB / 0.5575 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.853e-06/0.003687, allocations: 0 / 0.5575 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.004108, allocations: 71.62 kB / 0.5576 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.985e-05/0.004147, allocations: 4 kB / 0.5576 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.652e-05/0.004184, allocations: 7.984 kB / 0.5576 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/0.004213, allocations: 0 / 0.5576 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.265e-05/0.004256, allocations: 0 / 0.5576 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.004267, allocations: 3.984 kB / 0.5576 GB, free: 13.79 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003024/0.00457, allocations: 107.8 kB / 0.5577 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.004581, allocations: 0 / 0.5577 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.08e-05/0.004592, allocations: 0 / 0.5577 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.004744, allocations: 75.84 kB / 0.5578 GB, free: 13.61 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.004747, allocations: 0 / 0.5578 GB, free: 13.61 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004747, allocations: 0 / 0.5578 GB, free: 13.61 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.004751, allocations: 4 kB / 0.5578 GB, free: 13.61 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002766/0.005028, allocations: 356.2 kB / 0.5581 GB, free: 13.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.005072, allocations: 9.938 kB / 0.5581 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.454e-05/0.005096, allocations: 0.9375 kB / 0.5581 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.907e-05/0.005165, allocations: 116.6 kB / 0.5582 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.005176, allocations: 384 / 0.5582 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-06/0.005181, allocations: 384 / 0.5582 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.792e-05/0.005249, allocations: 26.27 kB / 0.5583 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.005257, allocations: 8.172 kB / 0.5583 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-06/0.005262, allocations: 384 / 0.5583 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.00527, allocations: 7.938 kB / 0.5583 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.257e-05/0.005282, allocations: 0 / 0.5583 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.005386, allocations: 93.27 kB / 0.5584 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.455e-05/0.00542, allocations: 30.98 kB / 0.5584 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.432e-05/0.005435, allocations: 7.688 kB / 0.5584 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/0.005678, allocations: 44.06 kB / 0.5585 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.005703, allocations: 33.39 kB / 0.5585 GB, free: 12.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.005704, allocations: 8 kB / 0.5585 GB, free: 12.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001168/0.005821, allocations: 37.69 kB / 0.5585 GB, free: 12.72 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.005848, allocations: 51.41 kB / 0.5586 GB, free: 12.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.817e-05/0.005906, allocations: 142.2 kB / 0.5587 GB, free: 12.51 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.005917, allocations: 25.7 kB / 0.5587 GB, free: 12.48 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.005958, allocations: 126.9 kB / 0.5589 GB, free: 12.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.005987, allocations: 4.281 kB / 0.5589 GB, free: 12.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.006018, allocations: 19.38 kB / 0.5589 GB, free: 12.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.006174, allocations: 496.1 kB / 0.5594 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.076e-06/0.006182, allocations: 0 / 0.5594 GB, free: 11.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-06/0.00619, allocations: 8.125 kB / 0.5594 GB, free: 11.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.011e-05/0.00622, allocations: 11.67 kB / 0.5594 GB, free: 11.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.006222, allocations: 0 / 0.5594 GB, free: 11.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.007e-05/0.006282, allocations: 37.7 kB / 0.5594 GB, free: 11.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.006296, allocations: 4 kB / 0.5594 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.006301, allocations: 0 / 0.5594 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.006313, allocations: 0 / 0.5594 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.47e-05/0.006357, allocations: 11.88 kB / 0.5594 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.006361, allocations: 0 / 0.5594 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.268e-05/0.006374, allocations: 7.891 kB / 0.5594 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.006378, allocations: 4.094 kB / 0.5594 GB, free: 11.73 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 (1): * Single equations (assignments): 1 * 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.366e-05/0.006451, allocations: 160.6 kB / 0.5596 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-06/0.006458, allocations: 0 / 0.5596 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.224e-05/0.00654, allocations: 36.69 kB / 0.5596 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.006542, allocations: 0 / 0.5596 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.006544, allocations: 0 / 0.5596 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.006546, allocations: 0 / 0.5596 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.0069, allocations: 101.2 kB / 0.5597 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.006902, allocations: 4.031 kB / 0.5597 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.971e-05/0.006922, allocations: 0 / 0.5597 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.006924, allocations: 0 / 0.5597 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.006932, allocations: 8 kB / 0.5597 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.006933, allocations: 0 / 0.5597 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006934, allocations: 0 / 0.5597 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.738e-05/0.007012, allocations: 84.3 kB / 0.5598 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.007019, allocations: 7.922 kB / 0.5598 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.464e-06/0.007027, allocations: 0 / 0.5598 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.007035, allocations: 0 / 0.5598 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.588e-06/0.007045, allocations: 0 / 0.5598 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.007048, allocations: 8.031 kB / 0.5598 GB, free: 11.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.218e-05/0.00708, allocations: 123.2 kB / 0.5599 GB, free: 11.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00708, allocations: 0 / 0.5599 GB, free: 11.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.007296, allocations: 8 kB / 0.56 GB, free: 11.13 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 (1): * Single equations (assignments): 1 * 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.007446, allocations: 111.2 kB / 0.5601 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.817e-05/0.007505, allocations: 19.62 kB / 0.5601 GB, free: 10.99 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.007506, allocations: 0 / 0.5601 GB, free: 10.99 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.077e-06/0.007515, allocations: 7.688 kB / 0.5601 GB, free: 10.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001114/0.007626, allocations: 13.09 kB / 0.5601 GB, free: 10.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001702/0.007797, allocations: 83.94 kB / 0.5602 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.852e-05/0.007825, allocations: 55.36 kB / 0.5602 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.864e-05/0.007844, allocations: 3.938 kB / 0.5602 GB, free: 10.78 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.007876, allocations: 66.2 kB / 0.5603 GB, free: 10.71 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.007876, allocations: 0 / 0.5603 GB, free: 10.71 MB / 490.7 MB Notification: Performance of Templates: time 0.002071/0.009947, allocations: 477.8 kB / 0.5608 GB, free: 10.26 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5166538897901773]