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.001185/0.001185, allocations: 111 kB / 16.42 MB, free: 6.484 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.001192/0.001192, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.266/1.266, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00205/0.00205, allocations: 286.2 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.9051/0.9051, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.00178, allocations: 91.86 kB / 0.6822 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3611, allocations: 86.97 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001594/0.3627, allocations: 0.594 MB / 0.7677 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.364, allocations: 1.104 MB / 0.7688 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.364, allocations: 0 / 0.7688 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.241e-05/0.364, allocations: 3.938 kB / 0.7688 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.3643, allocations: 27.91 kB / 0.7688 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.026e-06/0.3643, allocations: 0 / 0.7688 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.19e-05/0.3643, allocations: 0 / 0.7688 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.3644, allocations: 4 kB / 0.7688 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.332e-05/0.3644, allocations: 3.938 kB / 0.7688 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.909e-05/0.3644, allocations: 3.984 kB / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.422e-06/0.3644, allocations: 0 / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-05/0.3645, allocations: 23.92 kB / 0.7688 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.903e-06/0.3645, allocations: 3.984 kB / 0.7688 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.157e-05/0.3646, allocations: 4 kB / 0.7688 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.026e-05/0.3646, allocations: 15.92 kB / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3646, allocations: 0 / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3646, allocations: 0 / 0.7688 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.3647, allocations: 0 / 0.7688 GB, free: 2.094 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.0002432/0.3649, allocations: 319.6 kB / 0.7691 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.3649, allocations: 12.03 kB / 0.7692 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.365, allocations: 0.9375 kB / 0.7692 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.665e-05/0.3651, allocations: 172 kB / 0.7693 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.3651, allocations: 384 / 0.7693 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.3651, allocations: 4.375 kB / 0.7693 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.055e-05/0.3652, allocations: 42 kB / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3652, allocations: 0 / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.3652, allocations: 0 / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.3652, allocations: 0 / 0.7694 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.007e-05/0.3653, allocations: 4 kB / 0.7694 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.3654, allocations: 157.6 kB / 0.7695 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.3656, allocations: 38.55 kB / 0.7696 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.3656, allocations: 8.859 kB / 0.7696 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.3657, allocations: 85.05 kB / 0.7696 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.3658, allocations: 34.59 kB / 0.7697 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3658, allocations: 0 / 0.7697 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.004057/0.3698, allocations: 0.5755 MB / 0.7702 GB, free: 488 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.3699, allocations: 55.39 kB / 0.7703 GB, free: 420 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.701e-05/0.3699, allocations: 89.86 kB / 0.7704 GB, free: 320 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.3699, allocations: 25.7 kB / 0.7704 GB, free: 288 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.125e-05/0.37, allocations: 80.14 kB / 0.7705 GB, free: 204 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.37, allocations: 18.34 kB / 0.7705 GB, free: 188 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.3701, allocations: 21.66 kB / 0.7705 GB, free: 160 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.3702, allocations: 314.8 kB / 0.7708 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005887/0.3708, allocations: 88.02 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.3714, allocations: 108.3 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.3725, allocations: 190.5 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3725, allocations: 0 / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00121/0.3737, allocations: 213.6 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3738, allocations: 7.938 kB / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3738, allocations: 0 / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3738, allocations: 0 / 0.7714 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.3742, allocations: 55.94 kB / 0.7715 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3742, allocations: 0 / 0.7715 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.3745, allocations: 39.98 kB / 0.7715 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.3746, allocations: 7.984 kB / 0.7715 GB, free: 15.12 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 7.523e-05/0.3746, allocations: 113.8 kB / 0.7716 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.3747, allocations: 7.844 kB / 0.7716 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.376, allocations: 233.5 kB / 0.7718 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.376, allocations: 0 / 0.7718 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.376, allocations: 0 / 0.7718 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.3761, allocations: 85.09 kB / 0.7719 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.3761, allocations: 4 kB / 0.7719 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.3764, allocations: 43.97 kB / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.3764, allocations: 3.938 kB / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001528/0.378, allocations: 324.8 kB / 0.7723 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001271/0.3793, allocations: 378.7 kB / 0.7726 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005689/0.3798, allocations: 96.2 kB / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.123e-05/0.3799, allocations: 75.28 kB / 0.7728 GB, free: 13.73 MB / 0.545 GB Notification: Performance of Backend: time 2.6e-07/0.3799, allocations: 0 / 0.7728 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009601/0.3809, allocations: 179.2 kB / 0.773 GB, free: 13.54 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004089/0.3813, allocations: 0.5332 MB / 0.7735 GB, free: 12.96 MB / 0.545 GB Notification: Performance of Templates: time 0.003484/0.3848, allocations: 1.379 MB / 0.7748 GB, free: 11.6 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)