Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.299/1.299, allocations: 251.5 MB / 267.4 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009626/0.0009623, allocations: 178.8 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006417/0.0006417, allocations: 81.19 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002743, allocations: 11.12 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1584, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0005749/0.1591, allocations: 339.2 kB / 0.8971 GB, free: 67.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1601, allocations: 1.141 MB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.097e-05/0.1601, allocations: 7.938 kB / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.21e-05/0.1601, allocations: 0 / 0.8982 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.1603, allocations: 23.92 kB / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 2.575e-06/0.1603, allocations: 0 / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 2.712e-05/0.1604, allocations: 7.938 kB / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.341e-05/0.1604, allocations: 3.984 kB / 0.8982 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.094e-05/0.1604, allocations: 0 / 0.8982 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.917e-05/0.1604, allocations: 4 kB / 0.8982 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.372e-06/0.1605, allocations: 0 / 0.8982 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.29e-05/0.1605, allocations: 19.92 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.939e-06/0.1606, allocations: 0 / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.184e-05/0.1606, allocations: 3.938 kB / 0.8983 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.577e-05/0.1606, allocations: 15.97 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1606, allocations: 8 kB / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1606, allocations: 0 / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.895e-06/0.1607, allocations: 0 / 0.8983 GB, free: 66.56 MB / 0.6042 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.0001608/0.1608, allocations: 319.7 kB / 0.8986 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1609, allocations: 12.03 kB / 0.8986 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.1609, allocations: 0.9375 kB / 0.8986 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.422e-05/0.1609, allocations: 160.4 kB / 0.8988 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.1609, allocations: 8.312 kB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.161, allocations: 384 / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.693e-05/0.1611, allocations: 42 kB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1611, allocations: 4 kB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.1611, allocations: 0 / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.1611, allocations: 0 / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.8e-05/0.1611, allocations: 11.98 kB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.396e-05/0.1612, allocations: 141.7 kB / 0.899 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.1614, allocations: 38.55 kB / 0.899 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.467e-05/0.1614, allocations: 8.859 kB / 0.899 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.629e-05/0.1615, allocations: 93.19 kB / 0.8991 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.135e-05/0.1615, allocations: 38.5 kB / 0.8991 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1615, allocations: 3.938 kB / 0.8991 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.003497/0.165, allocations: 0.5638 MB / 0.8997 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.572e-05/0.165, allocations: 55.41 kB / 0.8997 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.444e-05/0.1651, allocations: 89.86 kB / 0.8998 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.1651, allocations: 25.7 kB / 0.8998 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.827e-06/0.1651, allocations: 84.14 kB / 0.8999 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.1651, allocations: 19.66 kB / 0.8999 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.1652, allocations: 17.7 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.223e-05/0.1652, allocations: 310.8 kB / 0.9003 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/0.1657, allocations: 87.95 kB / 0.9003 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.1662, allocations: 98.47 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009261/0.1671, allocations: 194.4 kB / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1671, allocations: 0 / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0009802/0.1681, allocations: 209.6 kB / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1681, allocations: 14.28 kB / 0.9008 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1681, allocations: 4.062 kB / 0.9008 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1681, allocations: 0 / 0.9008 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003162/0.1685, allocations: 51.97 kB / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1685, allocations: 0 / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.1688, allocations: 48.39 kB / 0.9009 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1688, allocations: 3.938 kB / 0.9009 GB, free: 63.59 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.953e-05/0.1688, allocations: 109.8 kB / 0.901 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.1689, allocations: 3.938 kB / 0.901 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.1699, allocations: 233.1 kB / 0.9013 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.17, allocations: 3.984 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.17, allocations: 8 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.17, allocations: 77.11 kB / 0.9014 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.17, allocations: 3.984 kB / 0.9014 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.1703, allocations: 39.98 kB / 0.9014 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.1703, allocations: 0 / 0.9014 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001225/0.1715, allocations: 332.8 kB / 0.9017 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009494/0.1725, allocations: 374.7 kB / 0.9021 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004527/0.173, allocations: 88.33 kB / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.278e-06/0.173, allocations: 75.28 kB / 0.9022 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of Backend: time 2.5e-07/0.173, allocations: 4 kB / 0.9022 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007807/0.1738, allocations: 182.3 kB / 0.9024 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002139/0.174, allocations: 0.5468 MB / 0.9029 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.002504/0.1765, allocations: 1.345 MB / 0.9042 GB, free: 60.09 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)