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.00184/0.00184, allocations: 81.5 kB / 19.44 MB, free: 344 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.00197/0.00197, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.54/1.54, 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.003285/0.003285, allocations: 237.4 kB / 259.8 MB, free: 12.85 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.245/1.245, allocations: 138.4 MB / 454.7 MB, free: 1.508 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.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.503e-06/1.503e-06, allocations: 0 / 0.5544 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.076e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001637/0.001668, allocations: 0.5884 MB / 0.555 GB, free: 224 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.003638, allocations: 1.295 MB / 0.5562 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.65e-05/0.003654, allocations: 4 kB / 0.5562 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.059e-05/0.003665, allocations: 0 / 0.5562 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.531e-06/0.00367, allocations: 0 / 0.5562 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.004052, allocations: 75.61 kB / 0.5563 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.476e-05/0.004097, allocations: 7.984 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.911e-05/0.004126, allocations: 0 / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.573e-05/0.004151, allocations: 4 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.911e-05/0.004191, allocations: 0 / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.004201, allocations: 0 / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.004523, allocations: 119.8 kB / 0.5564 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.677e-06/0.004531, allocations: 0 / 0.5564 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.314e-05/0.004545, allocations: 0 / 0.5564 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.004707, allocations: 63.86 kB / 0.5565 GB, free: 14.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004709, allocations: 0 / 0.5565 GB, free: 14.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004709, allocations: 4 kB / 0.5565 GB, free: 14.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.004713, allocations: 0 / 0.5565 GB, free: 14.63 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.0003844/0.005097, allocations: 356.2 kB / 0.5568 GB, free: 14.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.005131, allocations: 8.75 kB / 0.5568 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.005168, allocations: 4.938 kB / 0.5569 GB, free: 14.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.987e-05/0.005268, allocations: 108.6 kB / 0.557 GB, free: 14.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.005282, allocations: 8.375 kB / 0.557 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-06/0.005289, allocations: 4.312 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.741e-05/0.005376, allocations: 30.2 kB / 0.557 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.005384, allocations: 192 / 0.557 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.00539, allocations: 384 / 0.557 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.0054, allocations: 7.938 kB / 0.557 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.005419, allocations: 0 / 0.557 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.005561, allocations: 112.6 kB / 0.5571 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.234e-05/0.005624, allocations: 27.09 kB / 0.5571 GB, free: 13.87 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.005643, allocations: 7.688 kB / 0.5571 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003141/0.005957, allocations: 48.02 kB / 0.5572 GB, free: 13.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.005994, allocations: 37.33 kB / 0.5572 GB, free: 13.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.005995, allocations: 0 / 0.5572 GB, free: 13.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001436/0.006138, allocations: 37.7 kB / 0.5573 GB, free: 13.72 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.006183, allocations: 55.34 kB / 0.5573 GB, free: 13.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.006387, allocations: 142.2 kB / 0.5575 GB, free: 13.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.006406, allocations: 25.7 kB / 0.5575 GB, free: 13.47 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.006469, allocations: 131 kB / 0.5576 GB, free: 13.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.006499, allocations: 7.938 kB / 0.5576 GB, free: 13.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.006532, allocations: 19.38 kB / 0.5576 GB, free: 13.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002504/0.006783, allocations: 492.1 kB / 0.5581 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.222e-05/0.006795, allocations: 4 kB / 0.5581 GB, free: 12.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-06/0.006801, allocations: 0 / 0.5581 GB, free: 12.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.52e-05/0.006836, allocations: 19.62 kB / 0.5581 GB, free: 12.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.006838, allocations: 0 / 0.5581 GB, free: 12.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.412e-05/0.006892, allocations: 29.7 kB / 0.5581 GB, free: 12.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.00691, allocations: 12.08 kB / 0.5582 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.006916, allocations: 4 kB / 0.5582 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.006928, allocations: 0 / 0.5582 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.89e-05/0.006967, allocations: 0 / 0.5582 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.006977, allocations: 7.922 kB / 0.5582 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.037e-05/0.006987, allocations: 0 / 0.5582 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.006995, allocations: 4 kB / 0.5582 GB, free: 12.72 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 0.0001036/0.007098, allocations: 152.6 kB / 0.5583 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.863e-06/0.007105, allocations: 0 / 0.5583 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.007207, allocations: 52.62 kB / 0.5584 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.007209, allocations: 0 / 0.5584 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.007212, allocations: 3.938 kB / 0.5584 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.007216, allocations: 3.938 kB / 0.5584 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.007321, allocations: 104.6 kB / 0.5585 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.007322, allocations: 0 / 0.5585 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.701e-05/0.007339, allocations: 4 kB / 0.5585 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.00734, allocations: 0 / 0.5585 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.007345, allocations: 0 / 0.5585 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007346, allocations: 0 / 0.5585 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.007352, allocations: 7.984 kB / 0.5585 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.007457, allocations: 80.36 kB / 0.5586 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-06/0.007461, allocations: 0 / 0.5586 GB, free: 12.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.007472, allocations: 4 kB / 0.5586 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-06/0.007481, allocations: 0 / 0.5586 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.0075, allocations: 0 / 0.5586 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.007505, allocations: 3.984 kB / 0.5586 GB, free: 12.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.277e-05/0.007567, allocations: 123.1 kB / 0.5587 GB, free: 12.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007567, allocations: 0 / 0.5587 GB, free: 12.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001922/0.00776, allocations: 11.94 kB / 0.5587 GB, free: 12.11 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.0001927/0.007952, allocations: 115.2 kB / 0.5588 GB, free: 11.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.151e-05/0.008034, allocations: 15.69 kB / 0.5588 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.008038, allocations: 4 kB / 0.5588 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.955e-05/0.008058, allocations: 15.62 kB / 0.5588 GB, free: 11.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.0082, allocations: 3.984 kB / 0.5588 GB, free: 11.94 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001984/0.008399, allocations: 87.94 kB / 0.5589 GB, free: 11.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.539e-05/0.008454, allocations: 59.34 kB / 0.559 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.935e-05/0.008473, allocations: 4.125 kB / 0.559 GB, free: 11.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.648e-05/0.00849, allocations: 8.5 kB / 0.559 GB, free: 11.73 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.00849, allocations: 0 / 0.559 GB, free: 11.73 MB / 490.7 MB Notification: Performance of Templates: time 0.002925/0.01142, allocations: 424.3 kB / 0.5594 GB, free: 11.32 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: 5.745444011990912]