Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.0009146/0.0009146, allocations: 81.95 kB / 20.68 MB, free: 3.812 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.001015/0.001015, allocations: 181 kB / 24.09 MB, free: 416 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.496 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.6151/0.6151, allocations: 110.3 MB / 371.3 MB, free: 12.36 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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 475.6 MB, free: 15.04 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.155e-05, allocations: 3.625 kB / 475.6 MB, free: 15.03 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.001991/0.002013, allocations: 1.491 MB / 477.1 MB, free: 14.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000634/0.002647, allocations: 497.4 kB / 477.6 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.002677, allocations: 0 / 477.6 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.979e-05/0.002697, allocations: 3.938 kB / 477.6 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.728e-05/0.002754, allocations: 7.656 kB / 477.6 MB, free: 13.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.002912, allocations: 23.47 kB / 477.7 MB, free: 13.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.829e-05/0.00297, allocations: 25.95 kB / 477.7 MB, free: 13.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.01e-05/0.00304, allocations: 4 kB / 477.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.985e-05/0.00311, allocations: 16.88 kB / 477.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.953e-05/0.00314, allocations: 10.06 kB / 477.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.003151, allocations: 2.781 kB / 477.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.812e-05/0.0032, allocations: 16.14 kB / 477.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.003212, allocations: 2.438 kB / 477.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.331e-05/0.003226, allocations: 7.531 kB / 477.7 MB, free: 13.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.834e-05/0.003304, allocations: 37.67 kB / 477.8 MB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.003306, allocations: 0 / 477.8 MB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003306, allocations: 1.031 kB / 477.8 MB, free: 13.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.003309, allocations: 0 / 477.8 MB, free: 13.64 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002131/0.003523, allocations: 357.8 kB / 478.1 MB, free: 13.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.003553, allocations: 9.688 kB / 478.1 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.105e-05/0.003574, allocations: 7.688 kB / 478.1 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.817e-05/0.003622, allocations: 118.8 kB / 478.3 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.00363, allocations: 1.469 kB / 478.3 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-06/0.003636, allocations: 3.188 kB / 478.3 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.115e-05/0.003707, allocations: 49.02 kB / 478.3 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.003713, allocations: 192 / 478.3 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.003718, allocations: 4.625 kB / 478.3 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.003723, allocations: 3.938 kB / 478.3 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.003741, allocations: 5.625 kB / 478.3 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.003896, allocations: 235.8 kB / 478.6 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.154e-05/0.003928, allocations: 30.78 kB / 478.6 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.278e-05/0.003941, allocations: 11.16 kB / 478.6 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.371e-05/0.004004, allocations: 12.42 kB / 478.6 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.00402, allocations: 39.39 kB / 478.6 MB, free: 12.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.004021, allocations: 0.5312 kB / 478.6 MB, free: 12.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 9.69e-05/0.004118, allocations: 47.08 kB / 478.7 MB, free: 12.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.474e-05/0.004133, allocations: 51.41 kB / 478.7 MB, free: 12.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.027e-05/0.004173, allocations: 162.7 kB / 478.9 MB, free: 12.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.57e-06/0.004179, allocations: 29.89 kB / 478.9 MB, free: 12.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.004402, allocations: 126.9 kB / 479.1 MB, free: 28.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.004414, allocations: 7.891 kB / 479.1 MB, free: 28.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.004456, allocations: 21.75 kB / 479.1 MB, free: 28.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.00455, allocations: 0.4956 MB / 479.6 MB, free: 27.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-06/0.004558, allocations: 0.5312 kB / 479.6 MB, free: 27.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.657e-06/0.004567, allocations: 3.219 kB / 479.6 MB, free: 27.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.102e-05/0.004588, allocations: 11.03 kB / 479.6 MB, free: 27.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.004589, allocations: 0.5 kB / 479.6 MB, free: 27.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.791e-05/0.004637, allocations: 47.12 kB / 479.6 MB, free: 27.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.004648, allocations: 7.312 kB / 479.6 MB, free: 27.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.004652, allocations: 3.938 kB / 479.7 MB, free: 27.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.004661, allocations: 2.531 kB / 479.7 MB, free: 27.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.533e-05/0.004707, allocations: 8.578 kB / 479.7 MB, free: 27.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.004709, allocations: 1.375 kB / 479.7 MB, free: 27.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.819e-05/0.004727, allocations: 6.781 kB / 479.7 MB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-06/0.00473, allocations: 0 / 479.7 MB, free: 27.71 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 (2): * Single equations (assignments): 2 * 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.168e-05/0.004781, allocations: 157.9 kB / 479.8 MB, free: 27.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.004799, allocations: 2.656 kB / 479.8 MB, free: 27.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.004857, allocations: 48.45 kB / 479.9 MB, free: 27.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.004858, allocations: 4.766 kB / 479.9 MB, free: 27.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.00486, allocations: 0 / 479.9 MB, free: 27.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.004863, allocations: 4.094 kB / 479.9 MB, free: 27.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.635e-05/0.004949, allocations: 99.23 kB / 480 MB, free: 27.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.00495, allocations: 1.438 kB / 480 MB, free: 27.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-05/0.004969, allocations: 6.578 kB / 480 MB, free: 27.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.00497, allocations: 0 / 480 MB, free: 27.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-06/0.004973, allocations: 2.875 kB / 480 MB, free: 27.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.004974, allocations: 3.344 kB / 480 MB, free: 27.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.004975, allocations: 3.938 kB / 480 MB, free: 27.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.428e-05/0.00505, allocations: 185.6 kB / 480.2 MB, free: 27.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-06/0.005055, allocations: 3.953 kB / 480.2 MB, free: 27.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-06/0.005063, allocations: 2.594 kB / 480.2 MB, free: 27.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.359e-05/0.005106, allocations: 6.625 kB / 480.2 MB, free: 27.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.005128, allocations: 11.11 kB / 480.2 MB, free: 27.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.00513, allocations: 0 / 480.2 MB, free: 27.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.497e-05/0.005165, allocations: 125.1 kB / 480.3 MB, free: 27.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005165, allocations: 0 / 480.3 MB, free: 27.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002147/0.005379, allocations: 6.156 kB / 480.3 MB, free: 27.07 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 (2): * Single equations (assignments): 2 * 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.0001044/0.005484, allocations: 107.1 kB / 480.4 MB, free: 26.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.176e-05/0.005536, allocations: 14.25 kB / 480.4 MB, free: 26.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.005537, allocations: 0 / 480.4 MB, free: 26.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-05/0.005552, allocations: 16 kB / 480.5 MB, free: 26.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.005765, allocations: 9.547 kB / 480.5 MB, free: 26.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001839/0.005949, allocations: 116.8 kB / 480.6 MB, free: 26.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.559e-05/0.005974, allocations: 58.31 kB / 480.6 MB, free: 26.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.745e-05/0.005992, allocations: 1.156 kB / 480.6 MB, free: 26.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.006034, allocations: 77.7 kB / 480.7 MB, free: 26.68 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.006035, allocations: 0.6875 kB / 480.7 MB, free: 26.68 MB / 426.7 MB Notification: Performance of Templates: time 0.002193/0.008229, allocations: 0.6835 MB / 481.4 MB, free: 26.61 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4200559221208096]