Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.526/2.526, allocations: 251.1 MB / 266.7 MB, free: 11.66 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001344/0.001343, allocations: 175.8 kB / 326.2 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.431/2.431, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009679/0.0009676, allocations: 95.41 kB / 0.6817 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006959/0.0006961, allocations: 15.19 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2631, allocations: 106.3 MB / 0.8995 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0008222/0.264, allocations: 342.3 kB / 0.8998 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.2655, allocations: 1.11 MB / 0.9009 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.2656, allocations: 0 / 0.9009 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.2656, allocations: 3.938 kB / 0.9009 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.2659, allocations: 23.91 kB / 0.9009 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.617e-06/0.2659, allocations: 4 kB / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.13e-05/0.2659, allocations: 4 kB / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.726e-05/0.266, allocations: 0 / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.603e-05/0.266, allocations: 7.938 kB / 0.901 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.521e-05/0.2661, allocations: 0 / 0.901 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.983e-06/0.2661, allocations: 0 / 0.901 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.2662, allocations: 15.98 kB / 0.901 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.214e-06/0.2662, allocations: 7.922 kB / 0.901 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.474e-05/0.2662, allocations: 25.7 kB / 0.901 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.941e-05/0.2663, allocations: 7.984 kB / 0.901 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2663, allocations: 3.938 kB / 0.901 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2663, allocations: 4 kB / 0.901 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2663, allocations: 0 / 0.901 GB, free: 64.03 MB / 0.6042 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.0002102/0.2666, allocations: 315.6 kB / 0.9013 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.2666, allocations: 8.031 kB / 0.9013 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.2667, allocations: 12.83 kB / 0.9013 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.305e-05/0.2667, allocations: 164.4 kB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.2668, allocations: 384 / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.2668, allocations: 384 / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.2669, allocations: 42 kB / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2669, allocations: 4 kB / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.2669, allocations: 0 / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.267, allocations: 4 kB / 0.9015 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.267, allocations: 7.938 kB / 0.9016 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.2671, allocations: 149.7 kB / 0.9017 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.2673, allocations: 30.58 kB / 0.9017 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.361e-05/0.2674, allocations: 12.94 kB / 0.9017 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/0.2676, allocations: 85.11 kB / 0.9018 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.2676, allocations: 34.5 kB / 0.9019 GB, free: 63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 2.034e-06/0.2676, allocations: 0 / 0.9019 GB, free: 63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.007046/0.2747, allocations: 0.564 MB / 0.9024 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.2748, allocations: 55.34 kB / 0.9025 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.939e-05/0.2748, allocations: 93.8 kB / 0.9025 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.2748, allocations: 25.7 kB / 0.9026 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.565e-05/0.2749, allocations: 84.14 kB / 0.9026 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/0.2749, allocations: 27.92 kB / 0.9027 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.576e-05/0.275, allocations: 0 / 0.9027 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.275, allocations: 314.8 kB / 0.903 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.2761, allocations: 83.95 kB / 0.9031 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.2771, allocations: 98.53 kB / 0.9032 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.2782, allocations: 83.95 kB / 0.9032 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2782, allocations: 0 / 0.9032 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.002197/0.2804, allocations: 217.7 kB / 0.9034 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.2805, allocations: 11.94 kB / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2805, allocations: 0 / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.2805, allocations: 3.984 kB / 0.9035 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006767/0.2812, allocations: 52 kB / 0.9035 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.609e-06/0.2812, allocations: 3.938 kB / 0.9035 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005904/0.2818, allocations: 43.97 kB / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/0.2819, allocations: 0 / 0.9035 GB, free: 61.2 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.897e-05/0.282, allocations: 113.8 kB / 0.9037 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.282, allocations: 3.938 kB / 0.9037 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/0.2845, allocations: 237 kB / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.2845, allocations: 0 / 0.9039 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2845, allocations: 3.984 kB / 0.9039 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/0.2846, allocations: 81.11 kB / 0.904 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.2846, allocations: 0 / 0.904 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006351/0.2853, allocations: 39.98 kB / 0.904 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.2853, allocations: 7.984 kB / 0.904 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002817/0.2882, allocations: 329 kB / 0.9043 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002301/0.2905, allocations: 382.7 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001058/0.2916, allocations: 83.95 kB / 0.9048 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.342e-05/0.2917, allocations: 79.27 kB / 0.9048 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of Backend: time 6.51e-07/0.2917, allocations: 3.938 kB / 0.9049 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.2937, allocations: 170.4 kB / 0.905 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003567/0.2941, allocations: 0.5469 MB / 0.9055 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of Templates: time 0.004633/0.2987, allocations: 1.346 MB / 0.9069 GB, free: 57.69 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)