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.0009761/0.0009761, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.001137/0.001137, allocations: 169 kB / 24.05 MB, free: 456 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.008/1.008, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.611/0.611, allocations: 115 MB / 376 MB, free: 7.535 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.432e-06/1.432e-06, allocations: 0 / 482 MB, free: 11.75 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.585e-05/3.728e-05, allocations: 5.922 kB / 482 MB, free: 11.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001395/0.001432, allocations: 0.6099 MB / 482.6 MB, free: 11.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.002862, allocations: 1.316 MB / 484 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.002883, allocations: 1.094 kB / 484 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.002899, allocations: 0 / 484 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.432e-06/0.002905, allocations: 0.625 kB / 484 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.003253, allocations: 80.55 kB / 484 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.708e-05/0.003291, allocations: 4 kB / 484 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.291e-05/0.003323, allocations: 1.156 kB / 484 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.829e-05/0.003352, allocations: 1.344 kB / 484 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.183e-05/0.003394, allocations: 5.266 kB / 484 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.407e-06/0.003403, allocations: 0 / 484 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.003677, allocations: 105.6 kB / 484.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.315e-06/0.003685, allocations: 0 / 484.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.786e-06/0.003694, allocations: 1.75 kB / 484.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.003839, allocations: 70.72 kB / 484.2 MB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003841, allocations: 0 / 484.2 MB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.003842, allocations: 5.188 kB / 484.2 MB, free: 10.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.003846, allocations: 0 / 484.2 MB, free: 10.39 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.0002135/0.004059, allocations: 355.9 kB / 484.6 MB, free: 10.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.004101, allocations: 10.91 kB / 484.6 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.004125, allocations: 0.9375 kB / 484.6 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.542e-05/0.00417, allocations: 114.2 kB / 484.7 MB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.004181, allocations: 1.531 kB / 484.7 MB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-06/0.004186, allocations: 1.312 kB / 484.7 MB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.64e-05/0.004242, allocations: 28.36 kB / 484.7 MB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.00425, allocations: 5.594 kB / 484.7 MB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-06/0.004255, allocations: 384 / 484.7 MB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.004261, allocations: 3.938 kB / 484.7 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.011e-05/0.004271, allocations: 3.031 kB / 484.7 MB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.041e-05/0.004341, allocations: 95.41 kB / 484.8 MB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.85e-05/0.00437, allocations: 34.44 kB / 484.9 MB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.107e-05/0.004381, allocations: 8.531 kB / 484.9 MB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002275/0.004608, allocations: 42.83 kB / 484.9 MB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.004625, allocations: 35.3 kB / 484.9 MB, free: 9.625 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.723e-06/0.004627, allocations: 5.047 kB / 485 MB, free: 9.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 9.857e-05/0.004726, allocations: 30.33 kB / 485 MB, free: 9.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.584e-05/0.004741, allocations: 53.5 kB / 485 MB, free: 9.527 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.995e-05/0.004761, allocations: 149.6 kB / 485.2 MB, free: 9.371 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.21e-06/0.004767, allocations: 26.3 kB / 485.2 MB, free: 9.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.177e-05/0.004778, allocations: 128.2 kB / 485.3 MB, free: 9.211 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.004805, allocations: 5.328 kB / 485.3 MB, free: 9.207 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.00483, allocations: 17.97 kB / 485.4 MB, free: 9.184 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002829/0.005113, allocations: 497.2 kB / 485.8 MB, free: 24.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-06/0.005122, allocations: 1.125 kB / 485.8 MB, free: 24.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-06/0.005128, allocations: 1.844 kB / 485.8 MB, free: 24.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.54e-05/0.005154, allocations: 14.47 kB / 485.9 MB, free: 24.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005156, allocations: 1.188 kB / 485.9 MB, free: 24.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.994e-05/0.005206, allocations: 34.66 kB / 485.9 MB, free: 24.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.005219, allocations: 9.344 kB / 485.9 MB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.005223, allocations: 0.5 kB / 485.9 MB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.005234, allocations: 6.781 kB / 485.9 MB, free: 24.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.543e-05/0.00527, allocations: 2.188 kB / 485.9 MB, free: 24.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.005272, allocations: 0 / 485.9 MB, free: 24.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.09e-05/0.005283, allocations: 4.812 kB / 485.9 MB, free: 24.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.005287, allocations: 0 / 485.9 MB, free: 24.63 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.533e-05/0.005342, allocations: 155.5 kB / 486.1 MB, free: 24.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.509e-06/0.005347, allocations: 1.312 kB / 486.1 MB, free: 24.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.914e-05/0.005416, allocations: 42.95 kB / 486.1 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.005418, allocations: 0 / 486.1 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.00542, allocations: 5.656 kB / 486.1 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.005423, allocations: 1.125 kB / 486.1 MB, free: 24.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.54e-05/0.005468, allocations: 97.39 kB / 486.2 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.005469, allocations: 0.9688 kB / 486.2 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-06/0.005477, allocations: 1.125 kB / 486.2 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.005479, allocations: 3.094 kB / 486.2 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-06/0.005482, allocations: 0 / 486.2 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.005482, allocations: 1.188 kB / 486.2 MB, free: 24.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.005483, allocations: 3.938 kB / 486.2 MB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.856e-05/0.005531, allocations: 75.86 kB / 486.3 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-06/0.005536, allocations: 1.188 kB / 486.3 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-06/0.005543, allocations: 1.469 kB / 486.3 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-06/0.005549, allocations: 0.9062 kB / 486.3 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-06/0.005558, allocations: 0.9062 kB / 486.3 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.00556, allocations: 3.719 kB / 486.3 MB, free: 24.22 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.112e-05/0.005591, allocations: 120.1 kB / 486.4 MB, free: 24.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005591, allocations: 0 / 486.4 MB, free: 24.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001768/0.005768, allocations: 11.81 kB / 486.4 MB, free: 24.1 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.0001227/0.00589, allocations: 110 kB / 486.5 MB, free: 24.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.274e-05/0.005943, allocations: 22.47 kB / 486.6 MB, free: 23.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.005945, allocations: 1.281 kB / 486.6 MB, free: 23.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.771e-06/0.005951, allocations: 8.906 kB / 486.6 MB, free: 23.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.00606, allocations: 10.41 kB / 486.6 MB, free: 23.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001282/0.006188, allocations: 81 kB / 486.7 MB, free: 23.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.726e-05/0.006205, allocations: 54.83 kB / 486.7 MB, free: 23.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.837e-05/0.006224, allocations: 2.281 kB / 486.7 MB, free: 23.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.764e-05/0.006251, allocations: 67.67 kB / 486.8 MB, free: 23.73 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.006252, allocations: 1.281 kB / 486.8 MB, free: 23.73 MB / 426.7 MB Notification: Performance of Templates: time 0.001958/0.00821, allocations: 466.6 kB / 487.2 MB, free: 23.68 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.5091807139106095]