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.0007805/0.0007804, allocations: 93.27 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009664/0.0009665, allocations: 175.8 kB / 16.91 MB, free: 6.684 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.465/1.465, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7794/0.7794, allocations: 123 MB / 415.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004137/0.0004138, allocations: 8 kB / 0.4933 GB, free: 13.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5538/0.5542, allocations: 79.29 MB / 0.5708 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00074/0.555, allocations: 317.3 kB / 0.5711 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.5567, allocations: 1.084 MB / 0.5721 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.065e-05/0.5567, allocations: 1.062 kB / 0.5721 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.395e-05/0.5568, allocations: 3.938 kB / 0.5721 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.557, allocations: 16.17 kB / 0.5721 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.334e-06/0.557, allocations: 0.5625 kB / 0.5721 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.12e-05/0.557, allocations: 2.953 kB / 0.5721 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.5571, allocations: 7.062 kB / 0.5721 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.627e-05/0.5571, allocations: 6.172 kB / 0.5722 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.227e-05/0.5571, allocations: 0.8438 kB / 0.5722 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.265e-06/0.5571, allocations: 6.625 kB / 0.5722 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.563e-05/0.5572, allocations: 20.53 kB / 0.5722 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.923e-06/0.5572, allocations: 3.609 kB / 0.5722 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.78e-05/0.5573, allocations: 27.19 kB / 0.5722 GB, free: 9.707 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.474e-05/0.5573, allocations: 20.59 kB / 0.5722 GB, free: 9.699 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.5574, allocations: 1.375 kB / 0.5722 GB, free: 9.699 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5574, allocations: 0 / 0.5722 GB, free: 9.699 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.5574, allocations: 0 / 0.5722 GB, free: 9.699 MB / 430.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.0001993/0.5576, allocations: 316.4 kB / 0.5725 GB, free: 9.348 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.5576, allocations: 10.56 kB / 0.5725 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.055e-05/0.5577, allocations: 8.938 kB / 0.5726 GB, free: 9.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.002e-05/0.5577, allocations: 166.4 kB / 0.5727 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.5577, allocations: 1.531 kB / 0.5727 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.5578, allocations: 2.328 kB / 0.5727 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.455e-05/0.5578, allocations: 37.11 kB / 0.5727 GB, free: 9.105 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.5579, allocations: 4 kB / 0.5728 GB, free: 9.102 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.5579, allocations: 1.516 kB / 0.5728 GB, free: 9.102 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.5579, allocations: 0 / 0.5728 GB, free: 9.102 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.657e-05/0.5579, allocations: 9.656 kB / 0.5728 GB, free: 9.098 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.558, allocations: 159.1 kB / 0.5729 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.5582, allocations: 29.34 kB / 0.5729 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.5582, allocations: 12.69 kB / 0.573 GB, free: 8.863 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/0.5584, allocations: 83.75 kB / 0.573 GB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/0.5584, allocations: 35.66 kB / 0.5731 GB, free: 8.727 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.5584, allocations: 0 / 0.5731 GB, free: 8.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.004421/0.5628, allocations: 0.5708 MB / 0.5736 GB, free: 8.637 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.517e-05/0.5629, allocations: 52.12 kB / 0.5737 GB, free: 8.574 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.841e-05/0.5629, allocations: 90.38 kB / 0.5738 GB, free: 8.477 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.5629, allocations: 26.7 kB / 0.5738 GB, free: 8.445 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.122e-05/0.5629, allocations: 80.14 kB / 0.5739 GB, free: 8.363 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.636e-05/0.563, allocations: 20.98 kB / 0.5739 GB, free: 8.348 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.563, allocations: 14.56 kB / 0.5739 GB, free: 8.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.5631, allocations: 313.1 kB / 0.5742 GB, free: 8.016 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006236/0.5637, allocations: 87.28 kB / 0.5743 GB, free: 8.004 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00064/0.5644, allocations: 104.9 kB / 0.5744 GB, free: 7.969 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.5656, allocations: 182.4 kB / 0.5746 GB, free: 7.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5656, allocations: 4 kB / 0.5746 GB, free: 7.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001316/0.5669, allocations: 217 kB / 0.5748 GB, free: 7.867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.567, allocations: 13.97 kB / 0.5748 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.567, allocations: 1.188 kB / 0.5748 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.567, allocations: 1.188 kB / 0.5748 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.5674, allocations: 50.8 kB / 0.5748 GB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.5674, allocations: 1.219 kB / 0.5748 GB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003563/0.5678, allocations: 39.41 kB / 0.5749 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.5678, allocations: 3.109 kB / 0.5749 GB, free: 7.852 MB / 430.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 6.931e-05/0.5679, allocations: 112.4 kB / 0.575 GB, free: 7.734 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.019e-05/0.5679, allocations: 10.59 kB / 0.575 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.5694, allocations: 238.7 kB / 0.5752 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.5694, allocations: 1.031 kB / 0.5752 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5694, allocations: 0.75 kB / 0.5752 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5694, allocations: 0.6562 kB / 0.5752 GB, free: 7.66 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.5709, allocations: 455.8 kB / 0.5757 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.571, allocations: 4.609 kB / 0.5757 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.5714, allocations: 53.11 kB / 0.5757 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5714, allocations: 7.984 kB / 0.5757 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.5714, allocations: 2.719 kB / 0.5757 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.5714, allocations: 0.5156 kB / 0.5757 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5714, allocations: 1.5 kB / 0.5757 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.5728, allocations: 304.7 kB / 0.576 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.5728, allocations: 78.75 kB / 0.5761 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.5729, allocations: 5.438 kB / 0.5761 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.5733, allocations: 35.95 kB / 0.5761 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.5733, allocations: 6.594 kB / 0.5761 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.5733, allocations: 2.156 kB / 0.5761 GB, free: 7.059 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.229e-05/0.5733, allocations: 76.44 kB / 0.5762 GB, free: 6.984 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5733, allocations: 0.75 kB / 0.5762 GB, free: 6.984 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.5736, allocations: 13.47 kB / 0.5762 GB, free: 6.98 MB / 430.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.0002074/0.5738, allocations: 105.4 kB / 0.5763 GB, free: 6.887 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.5752, allocations: 182.8 kB / 0.5765 GB, free: 6.863 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5752, allocations: 0.8125 kB / 0.5765 GB, free: 6.863 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006139/0.5758, allocations: 88.31 kB / 0.5766 GB, free: 6.855 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.576, allocations: 8.172 kB / 0.5766 GB, free: 6.852 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.5772, allocations: 222.3 kB / 0.5768 GB, free: 6.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.5773, allocations: 0.6758 MB / 0.5775 GB, free: 6.035 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000215/0.5776, allocations: 32.72 kB / 0.5775 GB, free: 6.008 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/0.5776, allocations: 11.45 kB / 0.5775 GB, free: 6 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5776, allocations: 0 / 0.5775 GB, free: 6 MB / 430.1 MB Notification: Performance of Templates: time 0.003331/0.581, allocations: 0.7959 MB / 0.5783 GB, free: 5.93 MB / 430.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)