Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0007424/0.0007424, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009151/0.001657, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006929/0.0006929, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008269/0.00152, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9767/0.9767, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0892/1.066, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.907/1.907, allocations: 389.9 MB / 0.6191 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5045/2.411, allocations: 127.1 MB / 0.7432 GB, free: 4.602 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.7445 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.702e-05, allocations: 6.25 kB / 0.7445 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001814/0.001841, allocations: 0.6577 MB / 0.7452 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.003304, allocations: 1.169 MB / 0.7463 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.003328, allocations: 0 / 0.7463 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.322e-06/0.003334, allocations: 0 / 0.7463 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.003472, allocations: 21.08 kB / 0.7463 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.436e-06/0.003475, allocations: 0 / 0.7463 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.375e-05/0.003519, allocations: 1.094 kB / 0.7463 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.003564, allocations: 9.078 kB / 0.7464 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.168e-05/0.003595, allocations: 1.094 kB / 0.7464 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.311e-05/0.003628, allocations: 4.547 kB / 0.7464 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.003638, allocations: 1 kB / 0.7464 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.003762, allocations: 25.22 kB / 0.7464 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.694e-06/0.003769, allocations: 1.281 kB / 0.7464 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.227e-06/0.003779, allocations: 0.875 kB / 0.7464 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.374e-05/0.003872, allocations: 11.23 kB / 0.7464 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.65e-05/0.003889, allocations: 0 / 0.7464 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.903e-06/0.003891, allocations: 0 / 0.7464 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.901e-05/0.00391, allocations: 1.531 kB / 0.7464 GB, free: 1.371 MB / 0.7136 GB 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.0002631/0.004173, allocations: 220.7 kB / 0.7466 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.004209, allocations: 8.031 kB / 0.7466 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003161/0.004525, allocations: 99.39 kB / 0.7467 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.884e-05/0.004594, allocations: 101.8 kB / 0.7468 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.004606, allocations: 4.375 kB / 0.7468 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.004624, allocations: 5.469 kB / 0.7468 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.507e-05/0.00471, allocations: 34.19 kB / 0.7468 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.004721, allocations: 4.188 kB / 0.7469 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-06/0.004728, allocations: 1.094 kB / 0.7469 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.004735, allocations: 3.938 kB / 0.7469 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/0.004768, allocations: 12.56 kB / 0.7469 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.066e-05/0.004859, allocations: 62.06 kB / 0.7469 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.005012, allocations: 31.27 kB / 0.747 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.944e-05/0.005032, allocations: 12.86 kB / 0.747 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.005052, allocations: 0.9375 kB / 0.747 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.005077, allocations: 38.5 kB / 0.747 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.005078, allocations: 0.9062 kB / 0.747 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.001095/0.006174, allocations: 239.4 kB / 0.7472 GB, free: 428 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.006217, allocations: 57.09 kB / 0.7473 GB, free: 360 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.197e-05/0.006249, allocations: 93.8 kB / 0.7474 GB, free: 256 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.006269, allocations: 33.69 kB / 0.7474 GB, free: 216 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.342e-05/0.006293, allocations: 81.55 kB / 0.7475 GB, free: 132 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.00633, allocations: 11.91 kB / 0.7475 GB, free: 120 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.006379, allocations: 21.7 kB / 0.7475 GB, free: 92 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.006486, allocations: 315.4 kB / 0.7478 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.317e-05/0.006529, allocations: 6.75 kB / 0.7478 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-05/0.006578, allocations: 19.89 kB / 0.7478 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.672e-05/0.006675, allocations: 46.86 kB / 0.7479 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.006676, allocations: 0 / 0.7479 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000133/0.006809, allocations: 58.08 kB / 0.7479 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.006827, allocations: 4 kB / 0.748 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.006833, allocations: 0.5 kB / 0.748 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.006842, allocations: 0.875 kB / 0.748 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.007053, allocations: 38.39 kB / 0.748 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.007059, allocations: 3.984 kB / 0.748 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.007181, allocations: 21.94 kB / 0.748 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.007195, allocations: 4.719 kB / 0.748 GB, free: 15.57 MB / 0.7292 GB 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.565e-05/0.007271, allocations: 114.5 kB / 0.7481 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.007291, allocations: 8 kB / 0.7481 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.563e-05/0.007337, allocations: 8.594 kB / 0.7481 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.007339, allocations: 0.9844 kB / 0.7481 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.007341, allocations: 0 / 0.7481 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.007345, allocations: 7.938 kB / 0.7482 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.007645, allocations: 198.4 kB / 0.7483 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007647, allocations: 0.5312 kB / 0.7483 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.00783, allocations: 37.72 kB / 0.7484 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-06/0.007836, allocations: 7.203 kB / 0.7484 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.007839, allocations: 0 / 0.7484 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.007854, allocations: 7.938 kB / 0.7484 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.007856, allocations: 1.016 kB / 0.7484 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007857, allocations: 0 / 0.7484 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.008023, allocations: 151.5 kB / 0.7485 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.008041, allocations: 0 / 0.7485 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.008183, allocations: 17.41 kB / 0.7486 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.008198, allocations: 9.047 kB / 0.7486 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.008211, allocations: 8 kB / 0.7486 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.184e-06/0.008218, allocations: 5.734 kB / 0.7486 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008218, allocations: 0.9062 kB / 0.7486 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002169/0.008435, allocations: 8 kB / 0.7486 GB, free: 14.96 MB / 0.7292 GB 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.0001214/0.008556, allocations: 81.02 kB / 0.7487 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.008693, allocations: 28.41 kB / 0.7487 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.008697, allocations: 3.125 kB / 0.7487 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.116e-05/0.008749, allocations: 20.78 kB / 0.7487 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.008902, allocations: 10.23 kB / 0.7487 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.009257, allocations: 129.4 kB / 0.7488 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.589e-05/0.009293, allocations: 56.12 kB / 0.7489 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001788/0.009472, allocations: 32.75 kB / 0.7489 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.876e-05/0.00957, allocations: 52.12 kB / 0.749 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of SimCode: time 8.81e-07/0.009571, allocations: 0 / 0.749 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of Templates: time 0.002803/0.01237, allocations: 0.8836 MB / 0.7498 GB, free: 13.68 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.991250457242131]