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.001051/0.001051, allocations: 84.22 kB / 20.94 MB, free: 3.605 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.001237/0.001237, allocations: 169 kB / 24.25 MB, free: 304 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.046/1.046, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.7234/0.7234, allocations: 115 MB / 376 MB, free: 7.594 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.914e-06/1.914e-06, allocations: 0 / 481.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.923e-05/3.114e-05, allocations: 5.578 kB / 481.6 MB, free: 11.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001988/0.002019, allocations: 0.5951 MB / 482.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.003955, allocations: 1.318 MB / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.596e-05/0.003981, allocations: 2.688 kB / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.004001, allocations: 0 / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.175e-06/0.004009, allocations: 0 / 483.5 MB, free: 10.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.004479, allocations: 79.44 kB / 483.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.465e-05/0.004543, allocations: 2.062 kB / 483.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.004593, allocations: 1.781 kB / 483.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/0.004622, allocations: 0 / 483.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.004674, allocations: 7.984 kB / 483.6 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.004692, allocations: 3.938 kB / 483.6 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003242/0.005016, allocations: 104.5 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.005027, allocations: 3.281 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.738e-05/0.005044, allocations: 6.547 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.005215, allocations: 66.28 kB / 483.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.005219, allocations: 4 kB / 483.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.005221, allocations: 1.438 kB / 483.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.005226, allocations: 0 / 483.8 MB, free: 10.46 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.0002893/0.005515, allocations: 350.8 kB / 484.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.005563, allocations: 10.31 kB / 484.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.005609, allocations: 1.781 kB / 484.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.064e-05/0.00567, allocations: 113.7 kB / 484.2 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.005683, allocations: 2.156 kB / 484.2 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.005694, allocations: 1.094 kB / 484.2 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.635e-05/0.00579, allocations: 36.45 kB / 484.3 MB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.005798, allocations: 192 / 484.3 MB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.005807, allocations: 1.219 kB / 484.3 MB, free: 9.918 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.005818, allocations: 11.58 kB / 484.3 MB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.644e-05/0.005834, allocations: 1.219 kB / 484.3 MB, free: 9.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001029/0.005937, allocations: 108.6 kB / 484.4 MB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.025e-05/0.005977, allocations: 27.28 kB / 484.4 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.005997, allocations: 8.969 kB / 484.4 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003606/0.006357, allocations: 40.38 kB / 484.5 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.006381, allocations: 39.14 kB / 484.5 MB, free: 9.676 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.006382, allocations: 0 / 484.5 MB, free: 9.676 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001522/0.006535, allocations: 37.55 kB / 484.5 MB, free: 9.641 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/0.006561, allocations: 59.28 kB / 484.6 MB, free: 9.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.49e-05/0.006586, allocations: 142.9 kB / 484.7 MB, free: 9.418 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.16e-06/0.006591, allocations: 25.7 kB / 484.8 MB, free: 9.387 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.006829, allocations: 130.9 kB / 484.9 MB, free: 25.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.006865, allocations: 5.547 kB / 484.9 MB, free: 25.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.006894, allocations: 18.75 kB / 484.9 MB, free: 25.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.007055, allocations: 494.6 kB / 485.4 MB, free: 24.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.007069, allocations: 4 kB / 485.4 MB, free: 24.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-06/0.007078, allocations: 1.969 kB / 485.4 MB, free: 24.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.192e-05/0.00712, allocations: 17 kB / 485.4 MB, free: 24.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.007122, allocations: 1.375 kB / 485.4 MB, free: 24.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.931e-05/0.007192, allocations: 33.72 kB / 485.5 MB, free: 24.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.00721, allocations: 6.094 kB / 485.5 MB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.007215, allocations: 1.031 kB / 485.5 MB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.007229, allocations: 0 / 485.5 MB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.642e-05/0.007286, allocations: 1.188 kB / 485.5 MB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.007293, allocations: 5.125 kB / 485.5 MB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.13e-05/0.007305, allocations: 0 / 485.5 MB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.007311, allocations: 2.5 kB / 485.5 MB, free: 24.68 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 7.399e-05/0.007385, allocations: 154.1 kB / 485.6 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-06/0.007393, allocations: 1.812 kB / 485.6 MB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.007497, allocations: 46.41 kB / 485.7 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.007499, allocations: 1.812 kB / 485.7 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.007503, allocations: 0 / 485.7 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.007507, allocations: 3.938 kB / 485.7 MB, free: 24.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.441e-05/0.007562, allocations: 111.8 kB / 485.8 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007563, allocations: 5.188 kB / 485.8 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.769e-05/0.007581, allocations: 0 / 485.8 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.007584, allocations: 0 / 485.8 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.007592, allocations: 2.906 kB / 485.8 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.007595, allocations: 0 / 485.8 MB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.007596, allocations: 3.984 kB / 485.8 MB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.498e-05/0.007661, allocations: 79.34 kB / 485.9 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-06/0.007667, allocations: 1.125 kB / 485.9 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.007679, allocations: 1.125 kB / 485.9 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-06/0.007688, allocations: 2.344 kB / 485.9 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.007711, allocations: 7.312 kB / 485.9 MB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.007714, allocations: 0 / 485.9 MB, free: 24.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.483e-05/0.007759, allocations: 123.1 kB / 486 MB, free: 24.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007759, allocations: 1 kB / 486 MB, free: 24.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000252/0.008011, allocations: 8.891 kB / 486 MB, free: 24.12 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.0002335/0.008244, allocations: 113.6 kB / 486.1 MB, free: 24.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.00835, allocations: 14.34 kB / 486.1 MB, free: 24.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.008354, allocations: 0 / 486.1 MB, free: 24.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.164e-05/0.008366, allocations: 14.06 kB / 486.2 MB, free: 24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.008569, allocations: 7.844 kB / 486.2 MB, free: 24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.008829, allocations: 78.77 kB / 486.2 MB, free: 23.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.662e-05/0.008866, allocations: 59.25 kB / 486.3 MB, free: 23.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.971e-05/0.008895, allocations: 2.75 kB / 486.3 MB, free: 23.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.008919, allocations: 9.875 kB / 486.3 MB, free: 23.81 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/0.00892, allocations: 0 / 486.3 MB, free: 23.81 MB / 426.7 MB Notification: Performance of Templates: time 0.003263/0.01218, allocations: 419.9 kB / 486.7 MB, free: 23.77 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.729443068150431]