Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001447/0.001447, allocations: 85.41 kB / 20.83 MB, free: 3.629 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.001679/0.001679, allocations: 169.3 kB / 24.25 MB, free: 208 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.048/1.048, allocations: 177.1 MB / 204.7 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.9/1.9, allocations: 389.6 MB / 0.6355 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7754 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.848e-05, allocations: 6.25 kB / 0.7754 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001446/0.001474, allocations: 0.6602 MB / 0.7761 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.002997, allocations: 1.315 MB / 0.7774 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.003021, allocations: 3.938 kB / 0.7774 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.003039, allocations: 0.875 kB / 0.7774 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.843e-06/0.003046, allocations: 0 / 0.7774 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.003417, allocations: 67.75 kB / 0.7774 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.882e-05/0.003465, allocations: 4.656 kB / 0.7774 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.248e-05/0.003508, allocations: 3.984 kB / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.183e-05/0.00354, allocations: 4 kB / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.717e-05/0.003587, allocations: 0 / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.003598, allocations: 0.7656 kB / 0.7774 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.003894, allocations: 111.9 kB / 0.7775 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.003906, allocations: 12.42 kB / 0.7776 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.197e-05/0.003918, allocations: 0 / 0.7776 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.004045, allocations: 67.8 kB / 0.7776 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.004049, allocations: 0 / 0.7776 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.333e-06/0.00405, allocations: 1.094 kB / 0.7776 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.004055, allocations: 0 / 0.7776 GB, free: 2.953 MB / 0.7292 GB 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.0002519/0.004307, allocations: 228.6 kB / 0.7778 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.004348, allocations: 13.34 kB / 0.7778 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.004376, allocations: 4.922 kB / 0.7779 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.62e-05/0.004442, allocations: 109.4 kB / 0.778 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.004455, allocations: 5.469 kB / 0.778 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.004464, allocations: 384 / 0.778 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.022e-05/0.004534, allocations: 26.27 kB / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.004542, allocations: 192 / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.004548, allocations: 384 / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.004555, allocations: 3.938 kB / 0.778 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.208e-05/0.004568, allocations: 4 kB / 0.778 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.874e-05/0.004646, allocations: 57.05 kB / 0.7781 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.223e-05/0.004688, allocations: 26.53 kB / 0.7781 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.142e-05/0.0047, allocations: 6.641 kB / 0.7781 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/0.004936, allocations: 49.67 kB / 0.7781 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.004962, allocations: 30.56 kB / 0.7782 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.004963, allocations: 4 kB / 0.7782 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001056/0.005069, allocations: 30.08 kB / 0.7782 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.005105, allocations: 55.41 kB / 0.7782 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.524e-05/0.00514, allocations: 93.84 kB / 0.7783 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.005156, allocations: 30.41 kB / 0.7784 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.479e-05/0.005181, allocations: 80.14 kB / 0.7784 GB, free: 2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.005216, allocations: 4 kB / 0.7784 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.005239, allocations: 13.72 kB / 0.7785 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.005329, allocations: 314.8 kB / 0.7788 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-06/0.005337, allocations: 0 / 0.7788 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-06/0.005345, allocations: 4 kB / 0.7788 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.385e-05/0.005369, allocations: 8.406 kB / 0.7788 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.005371, allocations: 0 / 0.7788 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.456e-05/0.005416, allocations: 33.69 kB / 0.7788 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.00543, allocations: 8 kB / 0.7788 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.005435, allocations: 0 / 0.7788 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.005444, allocations: 0 / 0.7788 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.656e-05/0.005481, allocations: 5.062 kB / 0.7788 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.005484, allocations: 0.7656 kB / 0.7788 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.023e-05/0.005494, allocations: 4 kB / 0.7788 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.005501, allocations: 8.672 kB / 0.7788 GB, free: 1.586 MB / 0.7292 GB 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 5.701e-05/0.005558, allocations: 109.8 kB / 0.7789 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-06/0.005561, allocations: 1.062 kB / 0.7789 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.431e-05/0.005636, allocations: 41.56 kB / 0.779 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.005637, allocations: 0.9375 kB / 0.779 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.00564, allocations: 4.641 kB / 0.779 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.005645, allocations: 4.5 kB / 0.779 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.96e-05/0.005694, allocations: 65.84 kB / 0.779 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.005695, allocations: 0.875 kB / 0.779 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.718e-06/0.005705, allocations: 0 / 0.779 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.005707, allocations: 9.516 kB / 0.7791 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.017e-06/0.005711, allocations: 0.9844 kB / 0.7791 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.005711, allocations: 0 / 0.7791 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.005714, allocations: 3.938 kB / 0.7791 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.521e-05/0.005759, allocations: 53.64 kB / 0.7791 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.005765, allocations: 8.641 kB / 0.7791 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-06/0.005773, allocations: 3.984 kB / 0.7791 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.767e-06/0.005776, allocations: 1.281 kB / 0.7791 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.005787, allocations: 0 / 0.7791 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.005788, allocations: 0 / 0.7791 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.175e-06/0.005797, allocations: 10.5 kB / 0.7791 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.005797, allocations: 0 / 0.7791 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001026/0.005899, allocations: 7.938 kB / 0.7791 GB, free: 1.219 MB / 0.7292 GB 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.0001387/0.006038, allocations: 93.28 kB / 0.7792 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.808e-05/0.006106, allocations: 19.58 kB / 0.7792 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.006109, allocations: 0 / 0.7792 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.452e-06/0.006115, allocations: 4.859 kB / 0.7793 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.311e-05/0.006168, allocations: 6.516 kB / 0.7793 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000176/0.006344, allocations: 86.55 kB / 0.7793 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.765e-05/0.006372, allocations: 51.36 kB / 0.7794 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.192e-05/0.006394, allocations: 6.172 kB / 0.7794 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.006419, allocations: 47.38 kB / 0.7794 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/0.00642, allocations: 0.9375 kB / 0.7794 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of Templates: time 0.002025/0.008444, allocations: 468.9 kB / 0.7799 GB, free: 436 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.175081497058272]