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.002245/0.002245, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.002558/0.002558, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 178] 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 3.179/3.179, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 176] 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.573e-06/1.573e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.939e-05, allocations: 10.22 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001619/0.001649, allocations: 0.5951 MB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00193/0.003578, allocations: 1.284 MB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.162e-05/0.0036, allocations: 0 / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.003617, allocations: 3.938 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.16e-06/0.003622, allocations: 0 / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.004003, allocations: 79.56 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.275e-05/0.004046, allocations: 3.938 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.004088, allocations: 0 / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.536e-05/0.004113, allocations: 4 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.66e-05/0.00415, allocations: 3.984 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 9.567e-06/0.004159, allocations: 4 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.004475, allocations: 103.9 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.975e-06/0.004483, allocations: 4 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.206e-05/0.004495, allocations: 0 / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.004659, allocations: 63.86 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004662, allocations: 0 / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.92e-07/0.004662, allocations: 0 / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.004665, allocations: 0 / 1.003 GB, free: 10.78 MB / 0.9636 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.0003378/0.005003, allocations: 258.2 kB / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.005044, allocations: 13.34 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.005077, allocations: 8.875 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.005185, allocations: 105.8 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.005197, allocations: 384 / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-06/0.005204, allocations: 384 / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.647e-05/0.00529, allocations: 30.27 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.005299, allocations: 192 / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.005305, allocations: 4.312 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.005311, allocations: 3.938 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.899e-05/0.00533, allocations: 4 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.005464, allocations: 97.33 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.67e-05/0.005511, allocations: 22.61 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.694e-05/0.005528, allocations: 4.859 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003174/0.005845, allocations: 48 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.005884, allocations: 34.56 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.005885, allocations: 0 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001411/0.006026, allocations: 37.64 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.006089, allocations: 55.34 kB / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.292e-05/0.006142, allocations: 93.98 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.006163, allocations: 25.7 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.006203, allocations: 80.14 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.006223, allocations: 4 kB / 1.004 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.006255, allocations: 13.7 kB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.006416, allocations: 310.8 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.006426, allocations: 4 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-06/0.006431, allocations: 0 / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.563e-05/0.006466, allocations: 20.73 kB / 1.004 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.006468, allocations: 0 / 1.004 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.41e-05/0.006522, allocations: 33.77 kB / 1.005 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.006537, allocations: 8 kB / 1.005 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.00654, allocations: 0 / 1.005 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.006561, allocations: 3.984 kB / 1.005 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.823e-05/0.006599, allocations: 0 / 1.005 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.006606, allocations: 3.938 kB / 1.005 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.308e-05/0.00662, allocations: 3.953 kB / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.006624, allocations: 4 kB / 1.005 GB, free: 9.297 MB / 0.9636 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 8.021e-05/0.006704, allocations: 105.8 kB / 1.005 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-06/0.00671, allocations: 3.969 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.866e-05/0.006809, allocations: 52.62 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.00681, allocations: 0 / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.006813, allocations: 0 / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.006818, allocations: 3.938 kB / 1.005 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.258e-05/0.0069, allocations: 93.33 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.006901, allocations: 0 / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.659e-05/0.006918, allocations: 4 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.006921, allocations: 3.984 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.006943, allocations: 8.031 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.006944, allocations: 0 / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.006945, allocations: 0 / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.29e-05/0.007028, allocations: 65.06 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-06/0.007031, allocations: 0 / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-06/0.007039, allocations: 4 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.208e-06/0.007049, allocations: 0 / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.868e-06/0.007058, allocations: 3.938 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.00706, allocations: 0 / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.338e-05/0.007104, allocations: 79.22 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007104, allocations: 0 / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000192/0.007296, allocations: 16.02 kB / 1.005 GB, free: 8.797 MB / 0.9636 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.0001844/0.00748, allocations: 111.2 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 6.331e-05/0.007543, allocations: 8 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.007548, allocations: 4 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.312e-06/0.007554, allocations: 0 / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.00768, allocations: 0 / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002093/0.007889, allocations: 77 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.557e-05/0.007945, allocations: 59.3 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.871e-05/0.007963, allocations: 8.109 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.007982, allocations: 8.5 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of SimCode: time 4.41e-07/0.007982, allocations: 3.938 kB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of Templates: time 0.002916/0.0109, allocations: 404.5 kB / 1.006 GB, free: 8.074 MB / 0.9636 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: 8.86760590504855]