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.001635/0.001635, allocations: 103 kB / 16.52 MB, free: 6.66 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.001811/0.001812, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.313/1.313, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7019/0.7019, allocations: 115.3 MB / 406.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 493.6 MB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3513, allocations: 76.18 MB / 0.5564 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001745/0.3531, allocations: 0.6412 MB / 0.557 GB, free: 35.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3542, allocations: 1.099 MB / 0.5581 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.328e-05/0.3543, allocations: 1.469 kB / 0.5581 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.3543, allocations: 1 kB / 0.5581 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.3545, allocations: 13.23 kB / 0.5581 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.374e-06/0.3545, allocations: 3.125 kB / 0.5581 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.216e-05/0.3546, allocations: 6.75 kB / 0.5581 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.3546, allocations: 5.375 kB / 0.5581 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.35e-05/0.3546, allocations: 1.281 kB / 0.5581 GB, free: 35.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.416e-05/0.3547, allocations: 16.52 kB / 0.5581 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.163e-06/0.3547, allocations: 0 / 0.5581 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.3548, allocations: 18.27 kB / 0.5582 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.871e-06/0.3548, allocations: 0 / 0.5582 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.349e-05/0.3548, allocations: 1.344 kB / 0.5582 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.689e-05/0.3549, allocations: 14.95 kB / 0.5582 GB, free: 35.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3549, allocations: 0 / 0.5582 GB, free: 35.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.3549, allocations: 0 / 0.5582 GB, free: 35.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.3549, allocations: 1 kB / 0.5582 GB, free: 35.11 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.0002071/0.3551, allocations: 317.6 kB / 0.5585 GB, free: 34.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3551, allocations: 12.56 kB / 0.5585 GB, free: 34.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.802e-05/0.3552, allocations: 4.297 kB / 0.5585 GB, free: 34.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.006e-05/0.3552, allocations: 163.6 kB / 0.5586 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3553, allocations: 1.969 kB / 0.5587 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.3553, allocations: 3.094 kB / 0.5587 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.709e-05/0.3554, allocations: 39.45 kB / 0.5587 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3554, allocations: 6.094 kB / 0.5587 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.3554, allocations: 3.938 kB / 0.5587 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.3554, allocations: 2.672 kB / 0.5587 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.475e-05/0.3555, allocations: 10.41 kB / 0.5587 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000101/0.3556, allocations: 149.8 kB / 0.5589 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.3557, allocations: 34.36 kB / 0.5589 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.3558, allocations: 15.62 kB / 0.5589 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.3559, allocations: 79.67 kB / 0.559 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.3559, allocations: 35.41 kB / 0.559 GB, free: 34.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.924e-06/0.3559, allocations: 1.125 kB / 0.559 GB, free: 34.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.004222/0.3602, allocations: 0.5746 MB / 0.5596 GB, free: 34.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.3602, allocations: 57.66 kB / 0.5596 GB, free: 34.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.225e-05/0.3602, allocations: 89.86 kB / 0.5597 GB, free: 33.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.3602, allocations: 25.7 kB / 0.5597 GB, free: 33.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.074e-05/0.3603, allocations: 81.98 kB / 0.5598 GB, free: 33.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.3603, allocations: 19.88 kB / 0.5598 GB, free: 33.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.3604, allocations: 22.02 kB / 0.5599 GB, free: 33.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.488e-05/0.3604, allocations: 310.8 kB / 0.5602 GB, free: 33.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005953/0.361, allocations: 82.17 kB / 0.5602 GB, free: 33.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000591/0.3616, allocations: 104.2 kB / 0.5603 GB, free: 33.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.3628, allocations: 195.4 kB / 0.5605 GB, free: 33.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3628, allocations: 1.156 kB / 0.5605 GB, free: 33.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00121/0.364, allocations: 211.3 kB / 0.5607 GB, free: 33.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.364, allocations: 4.812 kB / 0.5607 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.364, allocations: 2.688 kB / 0.5607 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.364, allocations: 4.031 kB / 0.5607 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.3644, allocations: 48.06 kB / 0.5608 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.3645, allocations: 1.062 kB / 0.5608 GB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.3648, allocations: 45.56 kB / 0.5608 GB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.3648, allocations: 2.625 kB / 0.5608 GB, free: 33.36 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.563e-05/0.3649, allocations: 112.2 kB / 0.5609 GB, free: 33.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.3649, allocations: 7.312 kB / 0.5609 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.3662, allocations: 240.3 kB / 0.5612 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3662, allocations: 1.562 kB / 0.5612 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3663, allocations: 0 / 0.5612 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3663, allocations: 0.7031 kB / 0.5612 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.3677, allocations: 466.4 kB / 0.5616 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3677, allocations: 2.156 kB / 0.5616 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003852/0.3681, allocations: 49.2 kB / 0.5617 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3681, allocations: 0 / 0.5617 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3681, allocations: 2.234 kB / 0.5617 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3682, allocations: 0 / 0.5617 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3682, allocations: 0 / 0.5617 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.3694, allocations: 305.6 kB / 0.562 GB, free: 32.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.3695, allocations: 83.67 kB / 0.562 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.3695, allocations: 0 / 0.562 GB, free: 32.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/0.3698, allocations: 44.11 kB / 0.5621 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.3699, allocations: 7.688 kB / 0.5621 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.3699, allocations: 1.797 kB / 0.5621 GB, free: 32.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.847e-05/0.3699, allocations: 76.44 kB / 0.5622 GB, free: 32.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3699, allocations: 0 / 0.5622 GB, free: 32.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.3702, allocations: 8.844 kB / 0.5622 GB, free: 32.5 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.0001545/0.3704, allocations: 106.5 kB / 0.5623 GB, free: 32.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.3716, allocations: 187.5 kB / 0.5625 GB, free: 32.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3716, allocations: 0 / 0.5625 GB, free: 32.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005831/0.3722, allocations: 88.91 kB / 0.5625 GB, free: 32.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.3724, allocations: 6.562 kB / 0.5625 GB, free: 32.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.3735, allocations: 243.6 kB / 0.5628 GB, free: 32.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.3736, allocations: 0.6808 MB / 0.5634 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.264e-05/0.3737, allocations: 11.47 kB / 0.5635 GB, free: 31.51 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3738, allocations: 0.9688 kB / 0.5635 GB, free: 31.51 MB / 446.1 MB Notification: Performance of Templates: time 0.002913/0.3767, allocations: 1.091 MB / 0.5645 GB, free: 31.44 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)