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.001071/0.001071, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001121/0.001121, allocations: 161 kB / 24.16 MB, free: 336 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.003/1.003, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.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.905/1.905, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 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 2.024e-06/2.024e-06, allocations: 0 / 0.7753 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.405e-05, allocations: 8.5 kB / 0.7753 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001574/0.001598, allocations: 0.6692 MB / 0.7759 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004411/0.006009, allocations: 1.16 MB / 0.777 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.485e-05/0.006034, allocations: 0 / 0.777 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.00605, allocations: 0 / 0.777 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.006247, allocations: 25.39 kB / 0.7771 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 2.685e-06/0.00625, allocations: 0 / 0.7771 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.359e-05/0.006283, allocations: 5.531 kB / 0.7771 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.006318, allocations: 4.484 kB / 0.7771 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.158e-05/0.006339, allocations: 1.219 kB / 0.7771 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.074e-05/0.00636, allocations: 4.984 kB / 0.7771 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.363e-06/0.006367, allocations: 3.219 kB / 0.7771 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.006476, allocations: 20.8 kB / 0.7771 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.236e-06/0.006484, allocations: 0.7656 kB / 0.7771 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.245e-06/0.006493, allocations: 0.875 kB / 0.7771 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 6.678e-05/0.006559, allocations: 16.73 kB / 0.7771 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.006562, allocations: 0 / 0.7771 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.82e-07/0.006563, allocations: 1.094 kB / 0.7771 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.006566, allocations: 0 / 0.7771 GB, free: 3.41 MB / 0.7292 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.0001708/0.006737, allocations: 219.5 kB / 0.7773 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.006773, allocations: 13.34 kB / 0.7774 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.006966, allocations: 12.92 kB / 0.7774 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.045e-05/0.007026, allocations: 105.8 kB / 0.7775 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.007036, allocations: 4.375 kB / 0.7775 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.007049, allocations: 384 / 0.7775 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.184e-05/0.007111, allocations: 38.19 kB / 0.7775 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.007119, allocations: 2.484 kB / 0.7775 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.007126, allocations: 4.375 kB / 0.7775 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.007132, allocations: 3.938 kB / 0.7775 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.906e-05/0.007151, allocations: 4 kB / 0.7775 GB, free: 2.965 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.617e-05/0.007228, allocations: 69.02 kB / 0.7776 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.007332, allocations: 28.44 kB / 0.7776 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.007346, allocations: 12.98 kB / 0.7776 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.00736, allocations: 4.469 kB / 0.7776 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.007376, allocations: 30.56 kB / 0.7777 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.007377, allocations: 0.9375 kB / 0.7777 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.001991/0.009368, allocations: 252.2 kB / 0.7779 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.009402, allocations: 52.25 kB / 0.778 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.821e-05/0.00943, allocations: 94.45 kB / 0.778 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.009447, allocations: 29.7 kB / 0.7781 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.12e-05/0.009468, allocations: 81.11 kB / 0.7781 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.009501, allocations: 7.906 kB / 0.7782 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.00955, allocations: 26.72 kB / 0.7782 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.594e-05/0.009626, allocations: 314.8 kB / 0.7785 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.327e-05/0.009669, allocations: 10.39 kB / 0.7785 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.571e-05/0.009715, allocations: 21.2 kB / 0.7785 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.035e-05/0.009805, allocations: 46.08 kB / 0.7786 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.009807, allocations: 0 / 0.7786 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001186/0.009925, allocations: 53.5 kB / 0.7786 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.009939, allocations: 8 kB / 0.7786 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.009944, allocations: 3.516 kB / 0.7786 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.009956, allocations: 0 / 0.7786 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.01011, allocations: 31.97 kB / 0.7786 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.01012, allocations: 1.969 kB / 0.7786 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.01022, allocations: 28.86 kB / 0.7787 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.01023, allocations: 0 / 0.7787 GB, free: 1.707 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 6.539e-05/0.0103, allocations: 118.5 kB / 0.7788 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.01031, allocations: 2.562 kB / 0.7788 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.01035, allocations: 7.125 kB / 0.7788 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01036, allocations: 4.188 kB / 0.7788 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01036, allocations: 4 kB / 0.7788 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01036, allocations: 3.938 kB / 0.7788 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.01062, allocations: 202.7 kB / 0.779 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01063, allocations: 0.5469 kB / 0.779 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.01077, allocations: 30.83 kB / 0.779 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01077, allocations: 0 / 0.779 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.01078, allocations: 4 kB / 0.779 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01078, allocations: 0 / 0.779 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01078, allocations: 8.75 kB / 0.779 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.01092, allocations: 146.8 kB / 0.7792 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-06/0.01092, allocations: 7.953 kB / 0.7792 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.01094, allocations: 4.812 kB / 0.7792 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.01106, allocations: 22.14 kB / 0.7792 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.01107, allocations: 3.938 kB / 0.7792 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.01108, allocations: 4 kB / 0.7792 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.786e-06/0.01109, allocations: 9.859 kB / 0.7792 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01109, allocations: 0 / 0.7792 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001218/0.01121, allocations: 8 kB / 0.7792 GB, free: 1.094 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 8.683e-05/0.0113, allocations: 81.44 kB / 0.7793 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.0114, allocations: 29.28 kB / 0.7793 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.0114, allocations: 0 / 0.7793 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.01144, allocations: 19.7 kB / 0.7794 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001036/0.01154, allocations: 11.98 kB / 0.7794 GB, free: 0.9492 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.01179, allocations: 119.7 kB / 0.7795 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.413e-05/0.01182, allocations: 51.36 kB / 0.7795 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001685/0.01199, allocations: 37.08 kB / 0.7796 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.565e-05/0.01209, allocations: 56.31 kB / 0.7796 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of SimCode: time 1.092e-06/0.01209, allocations: 0 / 0.7796 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of Templates: time 0.002635/0.01473, allocations: 0.8932 MB / 0.7805 GB, free: 15.8 MB / 0.7448 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 & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.818571257404983]