Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.0009757/0.0009757, allocations: 79.73 kB / 20.75 MB, free: 3.734 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.001083/0.001083, allocations: 165 kB / 24.17 MB, free: 328 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 0.9929/0.9929, allocations: 177.2 MB / 204.6 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5895/0.5895, allocations: 110.3 MB / 371.3 MB, free: 12.38 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 422.5 MB, free: 9.324 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.802e-05, allocations: 6.25 kB / 422.5 MB, free: 9.316 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001056/0.001074, allocations: 0.6073 MB / 423.1 MB, free: 8.707 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.002376, allocations: 1.31 MB / 424.4 MB, free: 7.379 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.46e-05/0.00239, allocations: 0 / 424.4 MB, free: 7.379 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.203e-05/0.002402, allocations: 0 / 424.4 MB, free: 7.379 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.521e-06/0.002408, allocations: 0 / 424.4 MB, free: 7.379 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.002718, allocations: 83.66 kB / 424.5 MB, free: 7.297 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 3.639e-05/0.002755, allocations: 0 / 424.5 MB, free: 7.297 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.374e-05/0.002788, allocations: 7.938 kB / 424.5 MB, free: 7.289 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.337e-05/0.002812, allocations: 0 / 424.5 MB, free: 7.289 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.742e-05/0.002849, allocations: 0 / 424.5 MB, free: 7.289 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.002858, allocations: 0 / 424.5 MB, free: 7.289 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.003063, allocations: 107.9 kB / 424.6 MB, free: 7.184 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.418e-06/0.003072, allocations: 3.984 kB / 424.6 MB, free: 7.18 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.009e-05/0.003082, allocations: 0 / 424.6 MB, free: 7.18 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.003193, allocations: 79.78 kB / 424.7 MB, free: 7.102 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.003194, allocations: 4 kB / 424.7 MB, free: 7.098 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003195, allocations: 0 / 424.7 MB, free: 7.098 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.415e-06/0.003197, allocations: 0 / 424.7 MB, free: 7.098 MB / 394.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.0001947/0.003392, allocations: 224.6 kB / 424.9 MB, free: 6.855 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.003421, allocations: 8.031 kB / 424.9 MB, free: 6.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.948e-05/0.003441, allocations: 0.9375 kB / 424.9 MB, free: 6.848 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.099e-05/0.003492, allocations: 113.7 kB / 425 MB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.003501, allocations: 384 / 425 MB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.403e-06/0.003508, allocations: 384 / 425 MB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.46e-05/0.003563, allocations: 26.27 kB / 425 MB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.003568, allocations: 4.188 kB / 425 MB, free: 6.676 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-06/0.003573, allocations: 8.312 kB / 425 MB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.003578, allocations: 3.938 kB / 425 MB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.675e-06/0.003586, allocations: 0 / 425 MB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.118e-05/0.003647, allocations: 65.38 kB / 425.1 MB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.151e-05/0.003679, allocations: 18.52 kB / 425.1 MB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.134e-05/0.00369, allocations: 8.859 kB / 425.1 MB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/0.00388, allocations: 48.05 kB / 425.2 MB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.003899, allocations: 34.56 kB / 425.2 MB, free: 6.457 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.0039, allocations: 0 / 425.2 MB, free: 6.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 7.166e-05/0.003971, allocations: 33.69 kB / 425.2 MB, free: 6.418 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.003996, allocations: 55.34 kB / 425.3 MB, free: 6.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.701e-05/0.004023, allocations: 89.86 kB / 425.4 MB, free: 6.254 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.004031, allocations: 25.7 kB / 425.4 MB, free: 6.223 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.878e-05/0.00405, allocations: 80.14 kB / 425.5 MB, free: 6.141 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.004073, allocations: 3.953 kB / 425.5 MB, free: 6.137 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.711e-05/0.00409, allocations: 13.72 kB / 425.5 MB, free: 6.117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.76e-05/0.004158, allocations: 318.9 kB / 425.8 MB, free: 5.797 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-06/0.004163, allocations: 4 kB / 425.8 MB, free: 5.793 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-06/0.004167, allocations: 0 / 425.8 MB, free: 5.793 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.754e-05/0.004184, allocations: 4.859 kB / 425.8 MB, free: 5.785 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.004186, allocations: 0 / 425.8 MB, free: 5.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.848e-05/0.004214, allocations: 41.69 kB / 425.9 MB, free: 5.738 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.004225, allocations: 7.75 kB / 425.9 MB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.004228, allocations: 3.938 kB / 425.9 MB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.004238, allocations: 0 / 425.9 MB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.88e-05/0.004266, allocations: 8.094 kB / 425.9 MB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.004269, allocations: 4 kB / 425.9 MB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.652e-06/0.004275, allocations: 0 / 425.9 MB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.00428, allocations: 3.938 kB / 425.9 MB, free: 5.715 MB / 394.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 4.406e-05/0.004324, allocations: 109.8 kB / 426 MB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-06/0.004327, allocations: 0 / 426 MB, free: 5.598 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.382e-05/0.004381, allocations: 36.69 kB / 426 MB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.004383, allocations: 4 kB / 426 MB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.004384, allocations: 4.031 kB / 426 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.004386, allocations: 0 / 426 MB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.197e-05/0.004428, allocations: 61.84 kB / 426.1 MB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-07/0.004428, allocations: 3.938 kB / 426.1 MB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-06/0.004435, allocations: 7.984 kB / 426.1 MB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-07/0.004435, allocations: 0 / 426.1 MB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-06/0.004438, allocations: 0 / 426.1 MB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.004439, allocations: 3.938 kB / 426.1 MB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.00444, allocations: 0 / 426.1 MB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.387e-05/0.004474, allocations: 57.08 kB / 426.2 MB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-06/0.004478, allocations: 7.984 kB / 426.2 MB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-06/0.004483, allocations: 4.031 kB / 426.2 MB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.396e-06/0.004487, allocations: 0 / 426.2 MB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-06/0.004495, allocations: 0 / 426.2 MB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-06/0.004496, allocations: 4 kB / 426.2 MB, free: 5.359 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.651e-06/0.004501, allocations: 4.859 kB / 426.2 MB, free: 5.352 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004501, allocations: 0 / 426.2 MB, free: 5.352 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001028/0.004604, allocations: 11.94 kB / 426.2 MB, free: 5.34 MB / 394.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.0001016/0.004706, allocations: 88.41 kB / 426.3 MB, free: 5.242 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 4.032e-05/0.004746, allocations: 16.8 kB / 426.3 MB, free: 5.223 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.004747, allocations: 0 / 426.3 MB, free: 5.223 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.598e-06/0.004752, allocations: 4.859 kB / 426.3 MB, free: 5.215 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.742e-05/0.004789, allocations: 11.92 kB / 426.3 MB, free: 5.203 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001246/0.004914, allocations: 82.28 kB / 426.4 MB, free: 5.098 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.364e-05/0.004938, allocations: 55.36 kB / 426.5 MB, free: 5.023 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.329e-05/0.004951, allocations: 0 / 426.5 MB, free: 5.023 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.004973, allocations: 47.5 kB / 426.5 MB, free: 4.977 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.004973, allocations: 4 kB / 426.5 MB, free: 4.973 MB / 394.7 MB Notification: Performance of Templates: time 0.001619/0.006592, allocations: 484.3 kB / 427 MB, free: 4.5 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2757260212674737]