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.001408/0.001408, allocations: 88.39 kB / 20.24 MB, free: 4.191 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.001657/0.001657, allocations: 157.7 kB / 23.54 MB, free: 0.8867 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.457/1.457, allocations: 177.1 MB / 203.9 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 178] 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.9002/0.9002, allocations: 110.3 MB / 370.6 MB, free: 12.44 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.663e-06/1.663e-06, allocations: 0 / 474.5 MB, free: 15.21 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.736e-05, allocations: 3.297 kB / 474.5 MB, free: 15.21 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001617/0.001645, allocations: 0.5853 MB / 475.1 MB, free: 14.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.003207, allocations: 1.275 MB / 476.4 MB, free: 13.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.703e-05/0.003224, allocations: 0 / 476.4 MB, free: 13.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.003236, allocations: 0 / 476.4 MB, free: 13.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.171e-06/0.003242, allocations: 0 / 476.4 MB, free: 13.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.003656, allocations: 75.98 kB / 476.4 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.118e-05/0.003697, allocations: 3.406 kB / 476.4 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.003734, allocations: 8 kB / 476.5 MB, free: 13.92 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.842e-05/0.003763, allocations: 6.719 kB / 476.5 MB, free: 13.92 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.011e-05/0.003823, allocations: 0 / 476.5 MB, free: 13.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.003837, allocations: 1.156 kB / 476.5 MB, free: 13.92 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003151/0.004152, allocations: 103.3 kB / 476.6 MB, free: 13.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.004163, allocations: 5.688 kB / 476.6 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.161e-05/0.004184, allocations: 3.328 kB / 476.6 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.004331, allocations: 65.25 kB / 476.6 MB, free: 13.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004333, allocations: 0 / 476.6 MB, free: 13.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.004333, allocations: 6.562 kB / 476.6 MB, free: 13.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.004337, allocations: 1 kB / 476.6 MB, free: 13.87 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.0002395/0.004577, allocations: 257.4 kB / 476.9 MB, free: 13.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.004616, allocations: 7.875 kB / 476.9 MB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.004664, allocations: 2.062 kB / 476.9 MB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.392e-05/0.004718, allocations: 108.4 kB / 477 MB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.004731, allocations: 3.703 kB / 477 MB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.004739, allocations: 1.375 kB / 477 MB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.59e-05/0.004825, allocations: 32.88 kB / 477 MB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.004833, allocations: 0.8438 kB / 477 MB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.004842, allocations: 3 kB / 477.1 MB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.004847, allocations: 4.75 kB / 477.1 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.004865, allocations: 0 / 477.1 MB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.574e-05/0.004961, allocations: 103.5 kB / 477.2 MB, free: 13.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.934e-05/0.005, allocations: 21.14 kB / 477.2 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.005017, allocations: 8.328 kB / 477.2 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003308/0.005347, allocations: 36.62 kB / 477.2 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.005372, allocations: 40.56 kB / 477.3 MB, free: 13.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.005373, allocations: 0 / 477.3 MB, free: 13.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001516/0.005525, allocations: 35.73 kB / 477.3 MB, free: 13.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.00555, allocations: 60 kB / 477.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.097e-05/0.005571, allocations: 89.86 kB / 477.4 MB, free: 13.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.005578, allocations: 29.8 kB / 477.5 MB, free: 12.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.258e-05/0.005591, allocations: 84.14 kB / 477.6 MB, free: 12.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.005618, allocations: 0 / 477.6 MB, free: 12.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.005642, allocations: 12.34 kB / 477.6 MB, free: 12.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003024/0.005945, allocations: 314.7 kB / 477.9 MB, free: 28.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.005957, allocations: 3.75 kB / 477.9 MB, free: 28.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-06/0.005964, allocations: 0 / 477.9 MB, free: 28.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.2e-05/0.005996, allocations: 12.95 kB / 477.9 MB, free: 28.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.005997, allocations: 0 / 477.9 MB, free: 28.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.945e-05/0.006047, allocations: 41.47 kB / 477.9 MB, free: 28.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.006061, allocations: 9.188 kB / 477.9 MB, free: 28.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.006066, allocations: 1.156 kB / 477.9 MB, free: 28.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.006089, allocations: 3.234 kB / 477.9 MB, free: 28.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.863e-05/0.006138, allocations: 2.625 kB / 477.9 MB, free: 28.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.006144, allocations: 7.281 kB / 478 MB, free: 28.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/0.006167, allocations: 0 / 478 MB, free: 28.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.006173, allocations: 0 / 478 MB, free: 28.52 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.98e-05/0.006253, allocations: 112.4 kB / 478.1 MB, free: 28.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-06/0.006262, allocations: 0 / 478.1 MB, free: 28.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.775e-05/0.00635, allocations: 41.28 kB / 478.1 MB, free: 28.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.006352, allocations: 3.344 kB / 478.1 MB, free: 28.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.006356, allocations: 0 / 478.1 MB, free: 28.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.00636, allocations: 4.562 kB / 478.1 MB, free: 28.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.315e-05/0.006403, allocations: 93.33 kB / 478.2 MB, free: 28.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006404, allocations: 3.125 kB / 478.2 MB, free: 28.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/0.00642, allocations: 7.891 kB / 478.2 MB, free: 28.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.006423, allocations: 2.625 kB / 478.2 MB, free: 28.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.00643, allocations: 0.5 kB / 478.2 MB, free: 28.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.006432, allocations: 0.9375 kB / 478.2 MB, free: 28.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.006433, allocations: 0 / 478.2 MB, free: 28.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.358e-05/0.006496, allocations: 62.17 kB / 478.3 MB, free: 28.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-06/0.006503, allocations: 3.281 kB / 478.3 MB, free: 28.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.006516, allocations: 2.625 kB / 478.3 MB, free: 28.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.01e-05/0.006526, allocations: 2.25 kB / 478.3 MB, free: 28.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.006541, allocations: 0 / 478.3 MB, free: 28.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.006543, allocations: 0 / 478.3 MB, free: 28.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.118e-05/0.006594, allocations: 81.84 kB / 478.4 MB, free: 28.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006594, allocations: 0 / 478.4 MB, free: 28.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.006815, allocations: 5.25 kB / 478.4 MB, free: 28.09 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.0001715/0.006987, allocations: 113.8 kB / 478.5 MB, free: 28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.038e-05/0.007067, allocations: 14.5 kB / 478.5 MB, free: 27.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.00707, allocations: 1.906 kB / 478.5 MB, free: 27.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.545e-06/0.007077, allocations: 2.625 kB / 478.5 MB, free: 27.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.007224, allocations: 9.203 kB / 478.5 MB, free: 27.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002198/0.007444, allocations: 76.14 kB / 478.6 MB, free: 27.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.482e-05/0.007479, allocations: 58.91 kB / 478.6 MB, free: 27.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.783e-05/0.007497, allocations: 2.625 kB / 478.6 MB, free: 27.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.00752, allocations: 9.219 kB / 478.7 MB, free: 27.82 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/0.007521, allocations: 0 / 478.7 MB, free: 27.82 MB / 426.7 MB Notification: Performance of Templates: time 0.002689/0.01021, allocations: 429.7 kB / 479.1 MB, free: 27.77 MB / 426.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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.329614773043431]