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.001216/0.001216, allocations: 112.2 kB / 17.04 MB, free: 5.812 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.001262/0.001262, allocations: 195 kB / 17.98 MB, free: 5.027 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.314/1.314, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7056/0.7056, allocations: 115.1 MB / 406.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 68.11 kB / 494.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3383, allocations: 76.13 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001764/0.3401, allocations: 0.5868 MB / 0.5582 GB, free: 36.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.3412, allocations: 1.107 MB / 0.5592 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.565e-05/0.3413, allocations: 1.688 kB / 0.5592 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.3413, allocations: 0 / 0.5592 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002243/0.3415, allocations: 12.47 kB / 0.5593 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.077e-06/0.3415, allocations: 0 / 0.5593 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.971e-05/0.3416, allocations: 11.89 kB / 0.5593 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.624e-05/0.3416, allocations: 3.641 kB / 0.5593 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.289e-05/0.3417, allocations: 4.625 kB / 0.5593 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.101e-05/0.3417, allocations: 1.406 kB / 0.5593 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.773e-06/0.3417, allocations: 1.062 kB / 0.5593 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.3418, allocations: 21.19 kB / 0.5593 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-06/0.3418, allocations: 1.5 kB / 0.5593 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.264e-05/0.3418, allocations: 9.703 kB / 0.5593 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.341e-05/0.3419, allocations: 16.09 kB / 0.5593 GB, free: 35.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3419, allocations: 2.531 kB / 0.5593 GB, free: 35.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3419, allocations: 0 / 0.5593 GB, free: 35.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3419, allocations: 1.406 kB / 0.5593 GB, free: 35.45 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.0001947/0.3421, allocations: 315.4 kB / 0.5596 GB, free: 35.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3422, allocations: 10.59 kB / 0.5596 GB, free: 35.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.3422, allocations: 1.969 kB / 0.5596 GB, free: 35.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.603e-05/0.3423, allocations: 168.3 kB / 0.5598 GB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.3423, allocations: 1.469 kB / 0.5598 GB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.3423, allocations: 2.312 kB / 0.5598 GB, free: 34.9 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.318e-05/0.3424, allocations: 41.55 kB / 0.5598 GB, free: 34.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3424, allocations: 2.797 kB / 0.5598 GB, free: 34.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.3424, allocations: 0 / 0.5598 GB, free: 34.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3424, allocations: 2.281 kB / 0.5598 GB, free: 34.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.56e-05/0.3425, allocations: 11.39 kB / 0.5599 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.525e-05/0.3426, allocations: 145.6 kB / 0.56 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.3427, allocations: 39.36 kB / 0.56 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.3428, allocations: 11.58 kB / 0.56 GB, free: 34.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.3429, allocations: 84.27 kB / 0.5601 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.338e-05/0.3429, allocations: 36.8 kB / 0.5602 GB, free: 34.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3429, allocations: 0 / 0.5602 GB, free: 34.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.004365/0.3473, allocations: 0.5707 MB / 0.5607 GB, free: 34.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.3473, allocations: 52.8 kB / 0.5608 GB, free: 34.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.146e-05/0.3474, allocations: 91.17 kB / 0.5609 GB, free: 34.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.3474, allocations: 30.86 kB / 0.5609 GB, free: 34.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.195e-05/0.3474, allocations: 80.8 kB / 0.561 GB, free: 34.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.3474, allocations: 20.5 kB / 0.561 GB, free: 34.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.3475, allocations: 15.52 kB / 0.561 GB, free: 34.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.673e-05/0.3476, allocations: 319.3 kB / 0.5613 GB, free: 33.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006084/0.3482, allocations: 80.5 kB / 0.5614 GB, free: 33.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005951/0.3488, allocations: 110.3 kB / 0.5615 GB, free: 33.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.3499, allocations: 182.5 kB / 0.5617 GB, free: 33.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.35, allocations: 2 kB / 0.5617 GB, free: 33.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00126/0.3512, allocations: 217.9 kB / 0.5619 GB, free: 33.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3512, allocations: 10.75 kB / 0.5619 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3513, allocations: 2.031 kB / 0.5619 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3513, allocations: 1.219 kB / 0.5619 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.3517, allocations: 57.83 kB / 0.5619 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3517, allocations: 1.188 kB / 0.5619 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.3521, allocations: 38.34 kB / 0.562 GB, free: 33.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.3521, allocations: 5.094 kB / 0.562 GB, free: 33.71 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.075e-05/0.3522, allocations: 119 kB / 0.5621 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.3522, allocations: 5.641 kB / 0.5621 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.3536, allocations: 231.8 kB / 0.5623 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3536, allocations: 1 kB / 0.5623 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3536, allocations: 1.156 kB / 0.5623 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3536, allocations: 4.453 kB / 0.5623 GB, free: 33.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.3551, allocations: 463.3 kB / 0.5628 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3551, allocations: 0 / 0.5628 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.3555, allocations: 48.84 kB / 0.5628 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.3555, allocations: 0.6562 kB / 0.5628 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.3556, allocations: 9.719 kB / 0.5628 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.3556, allocations: 1.156 kB / 0.5628 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3556, allocations: 3.938 kB / 0.5628 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.3568, allocations: 305.8 kB / 0.5631 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.669e-05/0.3569, allocations: 78.91 kB / 0.5632 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.3569, allocations: 0.5625 kB / 0.5632 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.3573, allocations: 41.25 kB / 0.5632 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.3573, allocations: 1.875 kB / 0.5632 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.3573, allocations: 7.031 kB / 0.5632 GB, free: 32.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.41e-05/0.3573, allocations: 79.22 kB / 0.5633 GB, free: 32.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3573, allocations: 0 / 0.5633 GB, free: 32.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.3576, allocations: 14.22 kB / 0.5633 GB, free: 32.84 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.0001517/0.3577, allocations: 106 kB / 0.5634 GB, free: 32.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.359, allocations: 187.4 kB / 0.5636 GB, free: 32.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.359, allocations: 0 / 0.5636 GB, free: 32.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005969/0.3596, allocations: 93.59 kB / 0.5637 GB, free: 32.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.3598, allocations: 1.609 kB / 0.5637 GB, free: 32.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.361, allocations: 219 kB / 0.5639 GB, free: 32.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.3611, allocations: 0.6741 MB / 0.5646 GB, free: 31.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.3613, allocations: 29.89 kB / 0.5646 GB, free: 31.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.3614, allocations: 16.06 kB / 0.5646 GB, free: 31.86 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3614, allocations: 0 / 0.5646 GB, free: 31.86 MB / 446.1 MB Notification: Performance of Templates: time 0.002859/0.3642, allocations: 0.8057 MB / 0.5654 GB, free: 31.79 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)