Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009787/0.0009787, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001163/0.001163, allocations: 169.4 kB / 24.06 MB, free: 456 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.074/1.074, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001726/0.001726, allocations: 236.7 kB / 261.3 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7426/0.7426, allocations: 138.4 MB / 456.3 MB, free: 1.367 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.5564 GB, free: 152 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.398e-05, allocations: 5.547 kB / 0.5564 GB, free: 148 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001187/0.001211, allocations: 0.6158 MB / 0.557 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000983/0.002194, allocations: 1.163 MB / 0.5582 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.958e-05/0.002224, allocations: 0 / 0.5582 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.002238, allocations: 3.938 kB / 0.5582 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.002496, allocations: 15.92 kB / 0.5582 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.585e-06/0.002499, allocations: 0 / 0.5582 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.425e-05/0.002533, allocations: 11.98 kB / 0.5582 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.864e-05/0.002572, allocations: 4 kB / 0.5582 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.111e-05/0.002593, allocations: 3.984 kB / 0.5582 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.448e-05/0.002617, allocations: 7.875 kB / 0.5582 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.002625, allocations: 0 / 0.5582 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.38e-05/0.002708, allocations: 8 kB / 0.5582 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.396e-06/0.002717, allocations: 0 / 0.5582 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.755e-06/0.002725, allocations: 4 kB / 0.5582 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.328e-05/0.002788, allocations: 23.84 kB / 0.5582 GB, free: 14.26 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.00279, allocations: 0 / 0.5582 GB, free: 14.26 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.002791, allocations: 0 / 0.5582 GB, free: 14.26 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.002795, allocations: 4 kB / 0.5583 GB, free: 14.26 MB / 490.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.0001889/0.002984, allocations: 344.4 kB / 0.5586 GB, free: 13.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.003013, allocations: 8.75 kB / 0.5586 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.003036, allocations: 0.9375 kB / 0.5586 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.919e-05/0.003085, allocations: 112.6 kB / 0.5587 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.003094, allocations: 4.312 kB / 0.5587 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.003108, allocations: 384 / 0.5587 GB, free: 13.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.842e-05/0.003166, allocations: 34.25 kB / 0.5587 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.003175, allocations: 0.5312 kB / 0.5587 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.003181, allocations: 4.375 kB / 0.5587 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.003186, allocations: 7.938 kB / 0.5587 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.74e-05/0.003203, allocations: 3.984 kB / 0.5587 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.833e-05/0.003282, allocations: 101.2 kB / 0.5588 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.003408, allocations: 43.03 kB / 0.5589 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.233e-05/0.003421, allocations: 7.688 kB / 0.5589 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.907e-05/0.00349, allocations: 8 kB / 0.5589 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.003509, allocations: 45.45 kB / 0.5589 GB, free: 13.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.00351, allocations: 0 / 0.5589 GB, free: 13.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009411/0.004451, allocations: 258.5 kB / 0.5592 GB, free: 13.17 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.004476, allocations: 59.34 kB / 0.5592 GB, free: 13.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.053e-05/0.004507, allocations: 142.2 kB / 0.5594 GB, free: 12.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.004518, allocations: 25.7 kB / 0.5594 GB, free: 12.91 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.3e-05/0.004541, allocations: 126.9 kB / 0.5595 GB, free: 12.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.004571, allocations: 19.8 kB / 0.5595 GB, free: 12.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.004608, allocations: 27.36 kB / 0.5596 GB, free: 12.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.004694, allocations: 0.4884 MB / 0.5601 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.973e-05/0.004723, allocations: 4 kB / 0.5601 GB, free: 12.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.044e-05/0.004764, allocations: 31.05 kB / 0.5601 GB, free: 12.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.853e-05/0.004832, allocations: 47 kB / 0.5601 GB, free: 12.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.004833, allocations: 4 kB / 0.5601 GB, free: 12.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001087/0.004942, allocations: 65.77 kB / 0.5602 GB, free: 12.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.004953, allocations: 4 kB / 0.5602 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.004957, allocations: 0 / 0.5602 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.004967, allocations: 7.984 kB / 0.5602 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.00509, allocations: 31.91 kB / 0.5602 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.005095, allocations: 11.84 kB / 0.5602 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.552e-05/0.005181, allocations: 20.03 kB / 0.5603 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.00519, allocations: 4.172 kB / 0.5603 GB, free: 11.98 MB / 490.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 6.11e-05/0.005251, allocations: 160.6 kB / 0.5604 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.318e-05/0.005264, allocations: 0 / 0.5604 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.005414, allocations: 85.3 kB / 0.5605 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.005416, allocations: 0 / 0.5605 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.005418, allocations: 3.984 kB / 0.5605 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.005421, allocations: 3.938 kB / 0.5605 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/0.005643, allocations: 290 kB / 0.5608 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.005644, allocations: 0 / 0.5608 GB, free: 11.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.005751, allocations: 27.98 kB / 0.5608 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.005753, allocations: 4 kB / 0.5608 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.005761, allocations: 0 / 0.5608 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.005763, allocations: 3.938 kB / 0.5608 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.005763, allocations: 0 / 0.5608 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.005889, allocations: 203.8 kB / 0.561 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-06/0.005894, allocations: 7.984 kB / 0.561 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.005908, allocations: 4 kB / 0.561 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.644e-05/0.006004, allocations: 23.94 kB / 0.5611 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-06/0.006013, allocations: 3.984 kB / 0.5611 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.00602, allocations: 4 kB / 0.5611 GB, free: 11.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.246e-05/0.006043, allocations: 119.2 kB / 0.5612 GB, free: 10.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006043, allocations: 0 / 0.5612 GB, free: 10.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000159/0.006202, allocations: 8 kB / 0.5612 GB, free: 10.98 MB / 490.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 8.989e-05/0.006292, allocations: 111.2 kB / 0.5613 GB, free: 10.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.006397, allocations: 35.59 kB / 0.5613 GB, free: 10.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.006398, allocations: 0 / 0.5613 GB, free: 10.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.962e-05/0.006438, allocations: 20.06 kB / 0.5613 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.006572, allocations: 8 kB / 0.5613 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.006821, allocations: 152.8 kB / 0.5615 GB, free: 10.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.563e-05/0.006846, allocations: 51.36 kB / 0.5615 GB, free: 10.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.94e-05/0.006946, allocations: 35.98 kB / 0.5616 GB, free: 10.51 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.846e-05/0.007014, allocations: 70.2 kB / 0.5616 GB, free: 10.44 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.007015, allocations: 0 / 0.5616 GB, free: 10.44 MB / 490.7 MB Notification: Performance of Templates: time 0.001915/0.008929, allocations: 0.9194 MB / 0.5625 GB, free: 9.527 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.609430260024965]