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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 114.9 kB / 16.42 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 182.2 kB / 17.35 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002052, allocations: 289.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8853/0.8853, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 103.8 kB / 0.6822 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3623, allocations: 86.97 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001532/0.3638, allocations: 0.5941 MB / 0.7677 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3649, allocations: 1.104 MB / 0.7688 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.365, allocations: 0 / 0.7688 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.021e-05/0.365, allocations: 0 / 0.7688 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.3652, allocations: 19.94 kB / 0.7688 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.006e-06/0.3652, allocations: 0 / 0.7688 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.611e-05/0.3652, allocations: 3.938 kB / 0.7688 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.027e-05/0.3653, allocations: 19.91 kB / 0.7688 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.318e-05/0.3653, allocations: 3.938 kB / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.694e-05/0.3653, allocations: 0 / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.221e-06/0.3653, allocations: 0 / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.654e-05/0.3654, allocations: 19.92 kB / 0.7688 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.482e-06/0.3654, allocations: 4 kB / 0.7688 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.068e-05/0.3655, allocations: 0 / 0.7688 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 6.62e-05/0.3655, allocations: 19.91 kB / 0.7688 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3655, allocations: 0 / 0.7688 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3655, allocations: 0 / 0.7688 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.3656, allocations: 0 / 0.7688 GB, free: 2.098 MB / 0.5294 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.0002557/0.3658, allocations: 323.6 kB / 0.7692 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3659, allocations: 12.03 kB / 0.7692 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.3659, allocations: 0.9375 kB / 0.7692 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.287e-05/0.366, allocations: 164 kB / 0.7693 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.366, allocations: 384 / 0.7693 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.366, allocations: 4.375 kB / 0.7693 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.637e-05/0.3661, allocations: 41.94 kB / 0.7694 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.3661, allocations: 0 / 0.7694 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3661, allocations: 4 kB / 0.7694 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3662, allocations: 4 kB / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.764e-05/0.3662, allocations: 11.97 kB / 0.7694 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.3663, allocations: 153.6 kB / 0.7695 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.3665, allocations: 30.61 kB / 0.7696 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.3665, allocations: 8.859 kB / 0.7696 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.3667, allocations: 85.19 kB / 0.7697 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.3667, allocations: 42.44 kB / 0.7697 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3667, allocations: 0 / 0.7697 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.004251/0.371, allocations: 0.5677 MB / 0.7702 GB, free: 492 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.371, allocations: 51.41 kB / 0.7703 GB, free: 428 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.521e-05/0.371, allocations: 89.86 kB / 0.7704 GB, free: 328 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.3711, allocations: 25.7 kB / 0.7704 GB, free: 296 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.375e-05/0.3711, allocations: 80.14 kB / 0.7705 GB, free: 212 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.3712, allocations: 22.34 kB / 0.7705 GB, free: 192 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.3712, allocations: 21.7 kB / 0.7705 GB, free: 164 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3713, allocations: 314.8 kB / 0.7708 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006012/0.3719, allocations: 83.95 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.3725, allocations: 100.3 kB / 0.771 GB, free: 15.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.3737, allocations: 190.4 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3737, allocations: 0 / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001251/0.375, allocations: 221.6 kB / 0.7714 GB, free: 15.24 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.375, allocations: 11.88 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.375, allocations: 0 / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3751, allocations: 4 kB / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/0.3755, allocations: 48 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3755, allocations: 0 / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.3758, allocations: 43.97 kB / 0.7715 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.3759, allocations: 4 kB / 0.7715 GB, free: 15.13 MB / 0.545 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 8.298e-05/0.3759, allocations: 112.2 kB / 0.7716 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.376, allocations: 7.844 kB / 0.7716 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.3773, allocations: 245.2 kB / 0.7718 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3773, allocations: 0 / 0.7718 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3773, allocations: 0 / 0.7718 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.828e-05/0.3774, allocations: 81.09 kB / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.3774, allocations: 4 kB / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.3778, allocations: 39.98 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.242e-05/0.3778, allocations: 4 kB / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001644/0.3794, allocations: 328.8 kB / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001275/0.3807, allocations: 382.7 kB / 0.7726 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005907/0.3813, allocations: 83.95 kB / 0.7727 GB, free: 13.81 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.245e-05/0.3813, allocations: 75.28 kB / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of Backend: time 3.2e-07/0.3813, allocations: 4 kB / 0.7728 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009579/0.3823, allocations: 179.3 kB / 0.773 GB, free: 13.55 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003111/0.3826, allocations: 0.5333 MB / 0.7735 GB, free: 12.97 MB / 0.545 GB Notification: Performance of Templates: time 0.003023/0.3857, allocations: 1.374 MB / 0.7748 GB, free: 11.61 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)