Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009423/0.0009421, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001008/0.001008, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.007/1.007, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002941, allocations: 16 kB / 0.5158 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1543, allocations: 83.41 MB / 0.5973 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0006759/0.155, allocations: 319 kB / 0.5976 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.1563, allocations: 1.069 MB / 0.5986 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.239e-05/0.1563, allocations: 0 / 0.5986 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.077e-06/0.1564, allocations: 0 / 0.5986 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.1566, allocations: 19.97 kB / 0.5987 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.435e-06/0.1566, allocations: 4 kB / 0.5987 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.364e-05/0.1566, allocations: 3.938 kB / 0.5987 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.109e-05/0.1567, allocations: 4 kB / 0.5987 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.359e-05/0.1567, allocations: 0 / 0.5987 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.351e-05/0.1567, allocations: 0 / 0.5987 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.128e-06/0.1567, allocations: 3.984 kB / 0.5987 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.1569, allocations: 19.97 kB / 0.5987 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.998e-06/0.1569, allocations: 0 / 0.5987 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.1569, allocations: 25.7 kB / 0.5987 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.193e-05/0.157, allocations: 15.94 kB / 0.5987 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.157, allocations: 0 / 0.5987 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.157, allocations: 11.94 kB / 0.5987 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.157, allocations: 0 / 0.5987 GB, free: 6.402 MB / 0.4981 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.000248/0.1572, allocations: 307.4 kB / 0.599 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1573, allocations: 12.09 kB / 0.599 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.908e-05/0.1573, allocations: 4 kB / 0.5991 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.1574, allocations: 163 kB / 0.5992 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1574, allocations: 0 / 0.5992 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.1575, allocations: 4 kB / 0.5992 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.251e-05/0.1576, allocations: 33.69 kB / 0.5992 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1576, allocations: 8 kB / 0.5993 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.1576, allocations: 0 / 0.5993 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1576, allocations: 0 / 0.5993 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.607e-05/0.1576, allocations: 11.92 kB / 0.5993 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.1578, allocations: 161.5 kB / 0.5994 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.158, allocations: 30.61 kB / 0.5994 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.1581, allocations: 85.05 kB / 0.5995 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1582, allocations: 42.64 kB / 0.5996 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.011e-06/0.1582, allocations: 0 / 0.5996 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004214/0.1624, allocations: 0.5679 MB / 0.6001 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.1624, allocations: 51.41 kB / 0.6002 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.761e-05/0.1625, allocations: 89.86 kB / 0.6003 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1625, allocations: 25.7 kB / 0.6003 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.1626, allocations: 80.14 kB / 0.6004 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.1626, allocations: 15.81 kB / 0.6004 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.1626, allocations: 4 kB / 0.6004 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1628, allocations: 314.8 kB / 0.6007 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005788/0.1634, allocations: 87.89 kB / 0.6008 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005694/0.1639, allocations: 102.5 kB / 0.6009 GB, free: 4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005808/0.1645, allocations: 87.95 kB / 0.6009 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1645, allocations: 0 / 0.6009 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001234/0.1658, allocations: 205.6 kB / 0.6011 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1658, allocations: 8.062 kB / 0.6011 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1658, allocations: 3.984 kB / 0.6012 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1658, allocations: 4 kB / 0.6012 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.1662, allocations: 51.97 kB / 0.6012 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1662, allocations: 7.938 kB / 0.6012 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.1666, allocations: 35.98 kB / 0.6012 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.1666, allocations: 4 kB / 0.6013 GB, free: 3.594 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.378e-05/0.1667, allocations: 113.7 kB / 0.6014 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.1667, allocations: 15.89 kB / 0.6014 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.1681, allocations: 229.1 kB / 0.6016 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1681, allocations: 4.422 kB / 0.6016 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1681, allocations: 0 / 0.6016 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1681, allocations: 0 / 0.6016 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.1696, allocations: 454.4 kB / 0.602 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1697, allocations: 320 / 0.602 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003706/0.17, allocations: 51.97 kB / 0.6021 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.341e-06/0.1701, allocations: 7.984 kB / 0.6021 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1701, allocations: 0 / 0.6021 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1701, allocations: 0 / 0.6021 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1701, allocations: 3.984 kB / 0.6021 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.1713, allocations: 311.3 kB / 0.6024 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.1714, allocations: 81.11 kB / 0.6025 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.1714, allocations: 0 / 0.6025 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.1718, allocations: 43.97 kB / 0.6025 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.1718, allocations: 0 / 0.6025 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.1718, allocations: 4 kB / 0.6025 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.113e-05/0.1718, allocations: 79.22 kB / 0.6026 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1718, allocations: 0 / 0.6026 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002547/0.1721, allocations: 12 kB / 0.6026 GB, free: 2.109 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001662/0.1723, allocations: 115.2 kB / 0.6027 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.1735, allocations: 175.9 kB / 0.6029 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1735, allocations: 0 / 0.6029 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005814/0.1741, allocations: 88.08 kB / 0.603 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.1743, allocations: 11.94 kB / 0.603 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.1754, allocations: 222.6 kB / 0.6032 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.1756, allocations: 0.677 MB / 0.6038 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002315/0.1759, allocations: 27.91 kB / 0.6039 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.926e-05/0.1759, allocations: 11.44 kB / 0.6039 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.176, allocations: 4 kB / 0.6039 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of Templates: time 0.2762/0.4522, allocations: 0.7859 MB / 0.6047 GB, free: 40.86 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) Environment - environmentSimulation: