Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00103/0.00103, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001116/0.001116, allocations: 172.2 kB / 24.84 MB, free: 8.914 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.034/1.034, allocations: 177.2 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6302/0.6302, allocations: 115 MB / 376.8 MB, free: 7.43 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 482.8 MB, free: 11.72 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.34e-05, allocations: 2.312 kB / 482.8 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001662/0.001685, allocations: 0.6021 MB / 483.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004536/0.006221, allocations: 1.314 MB / 484.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.006241, allocations: 4.562 kB / 484.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.535e-05/0.006256, allocations: 1.75 kB / 484.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.123e-06/0.006263, allocations: 0 / 484.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003978/0.006661, allocations: 75.61 kB / 484.8 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.019e-05/0.006701, allocations: 2.156 kB / 484.8 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.006741, allocations: 3.562 kB / 484.8 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.503e-05/0.006766, allocations: 1.844 kB / 484.8 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.518e-05/0.006811, allocations: 7.922 kB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/0.006821, allocations: 1.094 kB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002876/0.007109, allocations: 103.7 kB / 484.9 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.00712, allocations: 3.375 kB / 484.9 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.024e-05/0.00713, allocations: 1.844 kB / 484.9 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.007277, allocations: 69.86 kB / 485 MB, free: 10.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.00728, allocations: 0.9375 kB / 485 MB, free: 10.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.007281, allocations: 0.7812 kB / 485 MB, free: 10.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.007284, allocations: 0 / 485 MB, free: 10.37 MB / 410.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.0002032/0.007488, allocations: 356.7 kB / 485.4 MB, free: 9.996 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.007523, allocations: 10.09 kB / 485.4 MB, free: 9.996 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.007546, allocations: 2.094 kB / 485.4 MB, free: 9.996 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.41e-05/0.00759, allocations: 109.7 kB / 485.5 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.007601, allocations: 1.719 kB / 485.5 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-06/0.007606, allocations: 1 kB / 485.5 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.959e-05/0.007665, allocations: 35.98 kB / 485.5 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.007672, allocations: 192 / 485.5 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-06/0.007678, allocations: 2.844 kB / 485.5 MB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.007683, allocations: 3.938 kB / 485.5 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.105e-05/0.007694, allocations: 3.406 kB / 485.5 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.6e-05/0.00776, allocations: 98.69 kB / 485.6 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.995e-05/0.00779, allocations: 24.66 kB / 485.6 MB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.105e-05/0.007801, allocations: 9 kB / 485.7 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002312/0.008032, allocations: 43.16 kB / 485.7 MB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.008049, allocations: 38.7 kB / 485.7 MB, free: 9.605 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.031e-06/0.00805, allocations: 1.531 kB / 485.7 MB, free: 9.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 9.559e-05/0.008146, allocations: 34.27 kB / 485.8 MB, free: 9.574 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.008165, allocations: 52.62 kB / 485.8 MB, free: 9.512 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.764e-05/0.008182, allocations: 142.2 kB / 486 MB, free: 9.359 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.409e-06/0.008187, allocations: 27.77 kB / 486 MB, free: 9.328 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.071e-05/0.008197, allocations: 128 kB / 486.1 MB, free: 9.199 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.008221, allocations: 4.297 kB / 486.1 MB, free: 9.195 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.008244, allocations: 18 kB / 486.1 MB, free: 9.172 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002555/0.0085, allocations: 0.4897 MB / 486.6 MB, free: 24.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.074e-06/0.008507, allocations: 5.125 kB / 486.6 MB, free: 24.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.008512, allocations: 4.516 kB / 486.6 MB, free: 24.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.405e-05/0.008537, allocations: 19.94 kB / 486.6 MB, free: 24.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.008538, allocations: 1.344 kB / 486.7 MB, free: 24.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.599e-05/0.008584, allocations: 30.92 kB / 486.7 MB, free: 24.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.008597, allocations: 7.281 kB / 486.7 MB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.008602, allocations: 1.219 kB / 486.7 MB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.00861, allocations: 0.6875 kB / 486.7 MB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.172e-05/0.008641, allocations: 3.875 kB / 486.7 MB, free: 24.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.008644, allocations: 3.984 kB / 486.7 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.118e-05/0.008655, allocations: 7.312 kB / 486.7 MB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.008659, allocations: 1.219 kB / 486.7 MB, free: 24.61 MB / 426.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 5.777e-05/0.008717, allocations: 154.8 kB / 486.9 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-06/0.008723, allocations: 1.25 kB / 486.9 MB, free: 24.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.343e-05/0.008786, allocations: 50.91 kB / 486.9 MB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.008788, allocations: 0 / 486.9 MB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.00879, allocations: 1 kB / 486.9 MB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.008792, allocations: 0.625 kB / 486.9 MB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/0.01185, allocations: 94.58 kB / 487 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01185, allocations: 1.438 kB / 487 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.01187, allocations: 2.594 kB / 487 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01187, allocations: 0 / 487 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.01188, allocations: 1.281 kB / 487 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01188, allocations: 1.281 kB / 487 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01188, allocations: 0 / 487 MB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.802e-05/0.01194, allocations: 81.33 kB / 487.1 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-06/0.01194, allocations: 1.125 kB / 487.1 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-06/0.01195, allocations: 1.375 kB / 487.1 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-06/0.01196, allocations: 0 / 487.1 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.01197, allocations: 4.969 kB / 487.1 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.01197, allocations: 0 / 487.1 MB, free: 24.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.834e-05/0.01201, allocations: 120.4 kB / 487.2 MB, free: 24.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01201, allocations: 1.594 kB / 487.2 MB, free: 24.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002236/0.01223, allocations: 10.53 kB / 487.2 MB, free: 24.07 MB / 426.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.0001358/0.01237, allocations: 114.7 kB / 487.3 MB, free: 23.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.033e-05/0.01243, allocations: 12.16 kB / 487.3 MB, free: 23.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01243, allocations: 1.062 kB / 487.3 MB, free: 23.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.804e-06/0.01244, allocations: 14.09 kB / 487.4 MB, free: 23.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.01257, allocations: 6.094 kB / 487.4 MB, free: 23.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001329/0.0127, allocations: 86.03 kB / 487.5 MB, free: 23.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.279e-05/0.01273, allocations: 53.27 kB / 487.5 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.293e-05/0.01275, allocations: 6.156 kB / 487.5 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.01278, allocations: 70.52 kB / 487.6 MB, free: 23.7 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01278, allocations: 0 / 487.6 MB, free: 23.7 MB / 426.7 MB Notification: Performance of Templates: time 0.005188/0.01797, allocations: 469.8 kB / 488 MB, free: 23.65 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6181390839628875]