Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001436/0.001436, allocations: 88.23 kB / 20.46 MB, free: 4.109 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.001614/0.001614, allocations: 165 kB / 23.82 MB, free: 0.7422 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.093/1.093, allocations: 177.1 MB / 204.2 MB, free: 5.59 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.6324/0.6324, allocations: 110.3 MB / 371 MB, free: 12.5 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.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 475.2 MB, free: 15.13 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.61e-05/2.81e-05, allocations: 2.312 kB / 475.2 MB, free: 15.13 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001305/0.001333, allocations: 0.6059 MB / 475.9 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004197/0.00553, allocations: 1.167 MB / 477 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.005557, allocations: 1.5 kB / 477 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.005579, allocations: 0 / 477 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.005823, allocations: 12.47 kB / 477 MB, free: 13.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.687e-06/0.005827, allocations: 2.625 kB / 477 MB, free: 13.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.616e-05/0.005873, allocations: 9.594 kB / 477 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.005914, allocations: 6.625 kB / 477.1 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.49e-05/0.005939, allocations: 3.984 kB / 477.1 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.35e-05/0.005963, allocations: 5.812 kB / 477.1 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.856e-06/0.005972, allocations: 0.8438 kB / 477.1 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.006076, allocations: 7.875 kB / 477.1 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.006086, allocations: 3.938 kB / 477.1 MB, free: 13.92 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.159e-05/0.006098, allocations: 1.75 kB / 477.1 MB, free: 13.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 8.239e-05/0.00618, allocations: 26.73 kB / 477.1 MB, free: 13.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.006185, allocations: 0 / 477.1 MB, free: 13.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.006186, allocations: 0 / 477.1 MB, free: 13.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.00619, allocations: 1.531 kB / 477.1 MB, free: 13.91 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.0002168/0.006407, allocations: 337.6 kB / 477.4 MB, free: 13.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.006449, allocations: 14.47 kB / 477.4 MB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.006488, allocations: 4.938 kB / 477.5 MB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.594e-05/0.006534, allocations: 112.3 kB / 477.6 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.006546, allocations: 384 / 477.6 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.006568, allocations: 3 kB / 477.6 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.044e-05/0.006648, allocations: 33.42 kB / 477.6 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.006659, allocations: 192 / 477.6 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.006669, allocations: 4.375 kB / 477.6 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.006678, allocations: 10.56 kB / 477.6 MB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.699e-05/0.006705, allocations: 3.188 kB / 477.6 MB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.532e-05/0.0068, allocations: 111.5 kB / 477.7 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.006973, allocations: 47.81 kB / 477.8 MB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.00699, allocations: 10.31 kB / 477.8 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.974e-05/0.00709, allocations: 12.52 kB / 477.8 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.007106, allocations: 37.33 kB / 477.8 MB, free: 13.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.007107, allocations: 0 / 477.8 MB, free: 13.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.004333/0.01144, allocations: 274.8 kB / 478.1 MB, free: 13.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.01147, allocations: 51.41 kB / 478.1 MB, free: 13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.518e-05/0.0115, allocations: 142.2 kB / 478.3 MB, free: 12.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.01151, allocations: 28.33 kB / 478.3 MB, free: 12.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.32e-05/0.01153, allocations: 127.5 kB / 478.4 MB, free: 12.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.01157, allocations: 18.47 kB / 478.5 MB, free: 12.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.01162, allocations: 25.83 kB / 478.5 MB, free: 12.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003597/0.01198, allocations: 495.2 kB / 479 MB, free: 28.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.188e-05/0.01204, allocations: 7.922 kB / 479 MB, free: 28.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/0.0121, allocations: 37.97 kB / 479 MB, free: 28.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.01221, allocations: 49.11 kB / 479.1 MB, free: 28.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01221, allocations: 0 / 479.1 MB, free: 28.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001536/0.01236, allocations: 65.22 kB / 479.1 MB, free: 28.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.01238, allocations: 3.5 kB / 479.1 MB, free: 28.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.01238, allocations: 0.6875 kB / 479.1 MB, free: 28.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.0124, allocations: 3.5 kB / 479.1 MB, free: 28.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.01257, allocations: 39.44 kB / 479.2 MB, free: 28.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.01257, allocations: 0 / 479.2 MB, free: 28.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.01268, allocations: 23.61 kB / 479.2 MB, free: 28.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.01269, allocations: 2.625 kB / 479.2 MB, free: 28.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.311e-05/0.01277, allocations: 157.2 kB / 479.3 MB, free: 27.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.01279, allocations: 3.844 kB / 479.4 MB, free: 27.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.01301, allocations: 84.42 kB / 479.4 MB, free: 27.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01301, allocations: 1.312 kB / 479.4 MB, free: 27.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.01301, allocations: 3.938 kB / 479.4 MB, free: 27.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.01302, allocations: 0 / 479.4 MB, free: 27.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.01441, allocations: 305.9 kB / 479.7 MB, free: 27.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01441, allocations: 320 / 479.7 MB, free: 27.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.01459, allocations: 29.5 kB / 479.8 MB, free: 27.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.01459, allocations: 7.938 kB / 479.8 MB, free: 27.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.0146, allocations: 4.516 kB / 479.8 MB, free: 27.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01461, allocations: 0 / 479.8 MB, free: 27.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01461, allocations: 2.781 kB / 479.8 MB, free: 27.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/0.01511, allocations: 202.9 kB / 480 MB, free: 27.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.01512, allocations: 12.23 kB / 480 MB, free: 27.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.01514, allocations: 3.938 kB / 480 MB, free: 27.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.01529, allocations: 22.69 kB / 480 MB, free: 27.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.01532, allocations: 10.2 kB / 480 MB, free: 27.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.01533, allocations: 0 / 480 MB, free: 27.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.592e-05/0.01536, allocations: 122.1 kB / 480.1 MB, free: 27.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01536, allocations: 0 / 480.1 MB, free: 27.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002467/0.01561, allocations: 7.5 kB / 480.2 MB, free: 27.17 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 (5): * Single equations (assignments): 5 * 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.0001919/0.0158, allocations: 107.1 kB / 480.3 MB, free: 27.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.01599, allocations: 37.23 kB / 480.3 MB, free: 27.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.01599, allocations: 0 / 480.3 MB, free: 27.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.414e-05/0.01605, allocations: 25.81 kB / 480.3 MB, free: 27.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.01627, allocations: 4.438 kB / 480.3 MB, free: 27.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.01667, allocations: 136.7 kB / 480.5 MB, free: 26.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.859e-05/0.01669, allocations: 54.02 kB / 480.5 MB, free: 26.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001058/0.0168, allocations: 27.41 kB / 480.5 MB, free: 26.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.01685, allocations: 14.59 kB / 480.6 MB, free: 26.85 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01685, allocations: 1.062 kB / 480.6 MB, free: 26.85 MB / 426.7 MB Notification: Performance of Templates: time 0.002919/0.01977, allocations: 0.9072 MB / 481.5 MB, free: 26.81 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.801417876034975]