Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.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.001171/0.001171, allocations: 92.22 kB / 20.46 MB, free: 4.113 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.001235/0.001235, allocations: 157 kB / 23.82 MB, free: 0.75 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.005/1.005, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.2 MB / 371 MB, free: 12.46 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.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 475.2 MB, free: 15.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.032e-05, allocations: 5.125 kB / 475.2 MB, free: 15.15 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.004443/0.004473, allocations: 0.5966 MB / 475.8 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002331/0.004707, allocations: 46.02 kB / 475.9 MB, free: 14.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.004723, allocations: 7.875 kB / 475.9 MB, free: 14.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.023e-05/0.004743, allocations: 3.062 kB / 475.9 MB, free: 14.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.004749, allocations: 0 / 475.9 MB, free: 14.78 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.004991, allocations: 13.22 kB / 475.9 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.11e-05/0.005032, allocations: 7.219 kB / 475.9 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.946e-05/0.005071, allocations: 4.5 kB / 475.9 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.208e-05/0.005093, allocations: 0 / 475.9 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.076e-05/0.005114, allocations: 0 / 475.9 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.005127, allocations: 0 / 475.9 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.777e-05/0.005225, allocations: 21.16 kB / 475.9 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.005237, allocations: 0.7812 kB / 475.9 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.357e-05/0.00525, allocations: 2.625 kB / 475.9 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.279e-05/0.005343, allocations: 19.98 kB / 476 MB, free: 14.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.005346, allocations: 0.7812 kB / 476 MB, free: 14.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.005347, allocations: 2.625 kB / 476 MB, free: 14.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.005352, allocations: 0.75 kB / 476 MB, free: 14.76 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.000451/0.005803, allocations: 335.5 kB / 476.3 MB, free: 30.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.005842, allocations: 10.5 kB / 476.3 MB, free: 30.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/0.006059, allocations: 27.19 kB / 476.3 MB, free: 30.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.151e-05/0.0061, allocations: 104.6 kB / 476.4 MB, free: 30.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.006112, allocations: 3 kB / 476.4 MB, free: 30.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.006122, allocations: 384 / 476.4 MB, free: 30.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.006229, allocations: 48.2 kB / 476.5 MB, free: 30.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.00624, allocations: 192 / 476.5 MB, free: 30.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.006248, allocations: 384 / 476.5 MB, free: 30.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.006259, allocations: 9.5 kB / 476.5 MB, free: 30.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.012e-05/0.006279, allocations: 7.875 kB / 476.5 MB, free: 30.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.612e-05/0.006365, allocations: 107.3 kB / 476.6 MB, free: 30.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.528e-05/0.0064, allocations: 29.69 kB / 476.6 MB, free: 30.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.766e-05/0.006418, allocations: 7.688 kB / 476.6 MB, free: 30.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.006437, allocations: 6.094 kB / 476.7 MB, free: 30.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.006453, allocations: 35.98 kB / 476.7 MB, free: 29.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.006454, allocations: 0 / 476.7 MB, free: 29.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001327/0.006587, allocations: 34.89 kB / 476.7 MB, free: 29.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.006607, allocations: 51.41 kB / 476.8 MB, free: 29.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.483e-05/0.006642, allocations: 144.9 kB / 476.9 MB, free: 29.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.992e-06/0.006648, allocations: 26.36 kB / 476.9 MB, free: 29.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.542e-05/0.006673, allocations: 126.9 kB / 477.1 MB, free: 29.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.006701, allocations: 16.16 kB / 477.1 MB, free: 29.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.006728, allocations: 18 kB / 477.1 MB, free: 29.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.006834, allocations: 498.6 kB / 477.6 MB, free: 29.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.00685, allocations: 2.625 kB / 477.6 MB, free: 29.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-06/0.006859, allocations: 0 / 477.6 MB, free: 29.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.391e-05/0.006893, allocations: 10.31 kB / 477.6 MB, free: 29.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.006896, allocations: 2.625 kB / 477.6 MB, free: 29.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.625e-05/0.006952, allocations: 44.36 kB / 477.6 MB, free: 28.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.006966, allocations: 5.875 kB / 477.6 MB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.00697, allocations: 0 / 477.6 MB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.006986, allocations: 0 / 477.6 MB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.606e-05/0.007052, allocations: 3.438 kB / 477.7 MB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.007057, allocations: 3.328 kB / 477.7 MB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.697e-05/0.007074, allocations: 5.656 kB / 477.7 MB, free: 28.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.007079, allocations: 2.625 kB / 477.7 MB, free: 28.97 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.522e-05/0.007134, allocations: 152.6 kB / 477.8 MB, free: 28.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.007142, allocations: 2.625 kB / 477.8 MB, free: 28.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.00717, allocations: 3.625 kB / 477.8 MB, free: 28.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.007172, allocations: 1.031 kB / 477.8 MB, free: 28.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.007176, allocations: 0 / 477.8 MB, free: 28.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.007178, allocations: 0 / 477.8 MB, free: 28.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.884e-05/0.007227, allocations: 116 kB / 477.9 MB, free: 28.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.007228, allocations: 0 / 477.9 MB, free: 28.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.007253, allocations: 6.562 kB / 477.9 MB, free: 28.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.007255, allocations: 0 / 477.9 MB, free: 28.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.007261, allocations: 0.6875 kB / 477.9 MB, free: 28.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.007262, allocations: 2.625 kB / 477.9 MB, free: 28.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007263, allocations: 2.375 kB / 477.9 MB, free: 28.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.983e-05/0.007333, allocations: 87.61 kB / 478 MB, free: 28.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-06/0.007336, allocations: 0 / 478 MB, free: 28.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-06/0.007346, allocations: 0 / 478 MB, free: 28.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.368e-05/0.00736, allocations: 5.953 kB / 478 MB, free: 28.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.007372, allocations: 0.5 kB / 478 MB, free: 28.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.007374, allocations: 3.406 kB / 478 MB, free: 28.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.866e-05/0.007403, allocations: 119.2 kB / 478.2 MB, free: 28.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007403, allocations: 0 / 478.2 MB, free: 28.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000178/0.007581, allocations: 2.625 kB / 478.2 MB, free: 28.45 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 7.694e-05/0.007658, allocations: 96.31 kB / 478.3 MB, free: 28.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.792e-05/0.007736, allocations: 24.25 kB / 478.3 MB, free: 28.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.007737, allocations: 0 / 478.3 MB, free: 28.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.658e-06/0.007747, allocations: 11.34 kB / 478.3 MB, free: 28.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.007879, allocations: 3.938 kB / 478.3 MB, free: 28.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001828/0.008062, allocations: 84.08 kB / 478.4 MB, free: 28.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.704e-05/0.008089, allocations: 54.58 kB / 478.4 MB, free: 28.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.426e-05/0.008113, allocations: 3.125 kB / 478.4 MB, free: 28.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.008136, allocations: 8.5 kB / 478.4 MB, free: 28.15 MB / 426.7 MB Notification: Performance of SimCode: time 6.92e-07/0.008137, allocations: 0 / 478.4 MB, free: 28.15 MB / 426.7 MB Notification: Performance of Templates: time 0.0018/0.009937, allocations: 253 kB / 478.7 MB, free: 28.11 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6110013970173895]