Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008456/0.0008456, allocations: 88.27 kB / 16.66 MB, free: 6.25 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.0009943/0.0009945, allocations: 176.6 kB / 17.57 MB, free: 5.859 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.334/1.334, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6941/0.6941, allocations: 115.5 MB / 408.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003102, allocations: 15.98 kB / 496.5 MB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3791, allocations: 77.51 MB / 0.5606 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.000741/0.3799, allocations: 322.9 kB / 0.5609 GB, free: 36.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.3811, allocations: 1.083 MB / 0.562 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.308e-05/0.3812, allocations: 1.281 kB / 0.562 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.293e-05/0.3812, allocations: 1.531 kB / 0.562 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.3814, allocations: 16.69 kB / 0.562 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.925e-06/0.3814, allocations: 3.938 kB / 0.562 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 2.996e-05/0.3814, allocations: 2.281 kB / 0.562 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.3815, allocations: 6.344 kB / 0.562 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.429e-05/0.3815, allocations: 5.656 kB / 0.562 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.111e-05/0.3815, allocations: 6.156 kB / 0.562 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.744e-06/0.3815, allocations: 1.125 kB / 0.562 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.3817, allocations: 20.31 kB / 0.562 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.636e-06/0.3817, allocations: 1.234 kB / 0.562 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.3817, allocations: 28.8 kB / 0.5621 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.085e-05/0.3818, allocations: 14.3 kB / 0.5621 GB, free: 35.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3818, allocations: 0 / 0.5621 GB, free: 35.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3818, allocations: 0 / 0.5621 GB, free: 35.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.3818, allocations: 1.594 kB / 0.5621 GB, free: 35.25 MB / 446.1 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.0001749/0.382, allocations: 313.6 kB / 0.5624 GB, free: 34.9 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.382, allocations: 10.44 kB / 0.5624 GB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.3821, allocations: 1.812 kB / 0.5624 GB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.103e-05/0.3821, allocations: 165.6 kB / 0.5625 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.3821, allocations: 1.688 kB / 0.5625 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.3821, allocations: 2.844 kB / 0.5625 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.682e-05/0.3822, allocations: 41.31 kB / 0.5626 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.3823, allocations: 0 / 0.5626 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.3823, allocations: 6.469 kB / 0.5626 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3823, allocations: 1.5 kB / 0.5626 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.536e-05/0.3823, allocations: 6.203 kB / 0.5626 GB, free: 34.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001137/0.3824, allocations: 150.6 kB / 0.5627 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.3826, allocations: 34.47 kB / 0.5628 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.3826, allocations: 9.047 kB / 0.5628 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.3828, allocations: 82.27 kB / 0.5629 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.3828, allocations: 46.22 kB / 0.5629 GB, free: 34.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3828, allocations: 0 / 0.5629 GB, free: 34.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.004381/0.3872, allocations: 0.5742 MB / 0.5635 GB, free: 34.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.3872, allocations: 52.62 kB / 0.5635 GB, free: 34.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.926e-05/0.3873, allocations: 91.48 kB / 0.5636 GB, free: 34.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3873, allocations: 31.52 kB / 0.5636 GB, free: 34.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.998e-06/0.3873, allocations: 80.14 kB / 0.5637 GB, free: 33.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.3873, allocations: 16.83 kB / 0.5637 GB, free: 33.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.3874, allocations: 15.94 kB / 0.5637 GB, free: 33.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.3874, allocations: 313.7 kB / 0.564 GB, free: 33.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006365/0.3881, allocations: 81.86 kB / 0.5641 GB, free: 33.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006252/0.3887, allocations: 103 kB / 0.5642 GB, free: 33.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.3899, allocations: 188.3 kB / 0.5644 GB, free: 33.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.39, allocations: 0 / 0.5644 GB, free: 33.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001298/0.3913, allocations: 221.8 kB / 0.5646 GB, free: 33.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3913, allocations: 5.531 kB / 0.5646 GB, free: 33.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3913, allocations: 0.6562 kB / 0.5646 GB, free: 33.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3913, allocations: 1.281 kB / 0.5646 GB, free: 33.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.3917, allocations: 48.72 kB / 0.5647 GB, free: 33.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3918, allocations: 2.234 kB / 0.5647 GB, free: 33.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/0.3921, allocations: 39.66 kB / 0.5647 GB, free: 33.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.3922, allocations: 3.906 kB / 0.5647 GB, free: 33.51 MB / 446.1 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 7.236e-05/0.3922, allocations: 112.6 kB / 0.5648 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.3923, allocations: 12.95 kB / 0.5648 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.3937, allocations: 240.3 kB / 0.5651 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3937, allocations: 0 / 0.5651 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3937, allocations: 0 / 0.5651 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3937, allocations: 1.766 kB / 0.5651 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.3952, allocations: 461.5 kB / 0.5655 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3953, allocations: 1.828 kB / 0.5655 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003991/0.3957, allocations: 48.3 kB / 0.5655 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3957, allocations: 1.219 kB / 0.5655 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.3957, allocations: 5.969 kB / 0.5656 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3957, allocations: 0.7969 kB / 0.5656 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3957, allocations: 0 / 0.5656 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.397, allocations: 305.2 kB / 0.5658 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.3971, allocations: 82.95 kB / 0.5659 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.3971, allocations: 1.734 kB / 0.5659 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.3975, allocations: 39.31 kB / 0.566 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.3975, allocations: 7.188 kB / 0.566 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.3975, allocations: 6.844 kB / 0.566 GB, free: 32.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.375e-05/0.3975, allocations: 75.28 kB / 0.566 GB, free: 32.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3975, allocations: 3.938 kB / 0.566 GB, free: 32.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000254/0.3978, allocations: 9.828 kB / 0.5661 GB, free: 32.63 MB / 446.1 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 0.0001466/0.3979, allocations: 109.8 kB / 0.5662 GB, free: 32.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.3992, allocations: 182.8 kB / 0.5663 GB, free: 32.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3993, allocations: 0 / 0.5663 GB, free: 32.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006113/0.3999, allocations: 93.16 kB / 0.5664 GB, free: 32.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.4001, allocations: 6.891 kB / 0.5664 GB, free: 32.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.4013, allocations: 243.6 kB / 0.5667 GB, free: 32.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.938e-05/0.4014, allocations: 0.6804 MB / 0.5673 GB, free: 31.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/0.4015, allocations: 11.25 kB / 0.5673 GB, free: 31.64 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4015, allocations: 1.062 kB / 0.5673 GB, free: 31.64 MB / 446.1 MB Notification: Performance of Templates: time 0.002656/0.4041, allocations: 1.092 MB / 0.5684 GB, free: 31.56 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)