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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001584/0.001585, allocations: 110.2 kB / 16.37 MB, free: 6.004 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.00181/0.00181, allocations: 197.1 kB / 17.31 MB, free: 5.617 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8558/0.8558, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.89 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.365, allocations: 82.04 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001667/0.3667, allocations: 0.5818 MB / 0.5963 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.3677, allocations: 1.106 MB / 0.5974 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.3678, allocations: 0 / 0.5974 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.3678, allocations: 0 / 0.5974 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.3681, allocations: 23.92 kB / 0.5974 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.318e-06/0.3681, allocations: 0.9688 kB / 0.5974 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.3e-05/0.3681, allocations: 7.922 kB / 0.5974 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.55e-05/0.3682, allocations: 5.031 kB / 0.5974 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.419e-05/0.3682, allocations: 0 / 0.5974 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.53e-05/0.3682, allocations: 0 / 0.5974 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.3683, allocations: 1.5 kB / 0.5974 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.3684, allocations: 27.91 kB / 0.5974 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.585e-06/0.3684, allocations: 4 kB / 0.5974 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.451e-05/0.3684, allocations: 3.938 kB / 0.5974 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.87e-05/0.3685, allocations: 12.69 kB / 0.5974 GB, free: 14.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3685, allocations: 0 / 0.5974 GB, free: 14.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3685, allocations: 1.531 kB / 0.5974 GB, free: 14.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3685, allocations: 0 / 0.5974 GB, free: 14.34 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.0002209/0.3687, allocations: 327.5 kB / 0.5978 GB, free: 13.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3688, allocations: 9.5 kB / 0.5978 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.3688, allocations: 0.9375 kB / 0.5978 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.004e-05/0.3689, allocations: 160.4 kB / 0.5979 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3689, allocations: 384 / 0.5979 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.3689, allocations: 5 kB / 0.5979 GB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.279e-05/0.369, allocations: 42.97 kB / 0.598 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.369, allocations: 0 / 0.598 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.3691, allocations: 0 / 0.598 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3691, allocations: 3.031 kB / 0.598 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.656e-05/0.3691, allocations: 7.984 kB / 0.598 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.3692, allocations: 153.6 kB / 0.5981 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.3694, allocations: 38.55 kB / 0.5982 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.3694, allocations: 14.2 kB / 0.5982 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.3696, allocations: 85.12 kB / 0.5983 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.3696, allocations: 39.84 kB / 0.5983 GB, free: 13.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3696, allocations: 3.938 kB / 0.5983 GB, free: 13.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.004213/0.3738, allocations: 0.5722 MB / 0.5989 GB, free: 12.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.3739, allocations: 53.34 kB / 0.5989 GB, free: 12.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.649e-05/0.3739, allocations: 89.86 kB / 0.599 GB, free: 12.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.3739, allocations: 25.7 kB / 0.599 GB, free: 12.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.238e-05/0.3739, allocations: 84.14 kB / 0.5991 GB, free: 12.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.374, allocations: 12.38 kB / 0.5991 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.374, allocations: 24.58 kB / 0.5991 GB, free: 12.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.707e-05/0.3741, allocations: 310.8 kB / 0.5994 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005763/0.3746, allocations: 90.02 kB / 0.5995 GB, free: 12.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/0.3752, allocations: 101.1 kB / 0.5996 GB, free: 11.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.3763, allocations: 188.7 kB / 0.5998 GB, free: 11.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.3763, allocations: 1.781 kB / 0.5998 GB, free: 11.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001153/0.3775, allocations: 215.6 kB / 0.6 GB, free: 11.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3775, allocations: 4 kB / 0.6 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3775, allocations: 0 / 0.6 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.3775, allocations: 4 kB / 0.6 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.3779, allocations: 51.25 kB / 0.6001 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3779, allocations: 0 / 0.6001 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/0.3783, allocations: 47.22 kB / 0.6001 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.3783, allocations: 8 kB / 0.6001 GB, free: 11.46 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 6.263e-05/0.3784, allocations: 105.8 kB / 0.6002 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.3784, allocations: 11.84 kB / 0.6002 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.3796, allocations: 237 kB / 0.6004 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3796, allocations: 0 / 0.6004 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3797, allocations: 7.984 kB / 0.6005 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3797, allocations: 0 / 0.6005 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.381, allocations: 450.5 kB / 0.6009 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.381, allocations: 4 kB / 0.6009 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.3814, allocations: 47.97 kB / 0.6009 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3814, allocations: 4.25 kB / 0.6009 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.3814, allocations: 0 / 0.6009 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3814, allocations: 4 kB / 0.6009 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3814, allocations: 4 kB / 0.6009 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.3826, allocations: 303.4 kB / 0.6012 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.551e-05/0.3826, allocations: 77.11 kB / 0.6013 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.3826, allocations: 7.938 kB / 0.6013 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.383, allocations: 43.97 kB / 0.6014 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.383, allocations: 4 kB / 0.6014 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.383, allocations: 0 / 0.6014 GB, free: 10.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.378e-05/0.383, allocations: 79.22 kB / 0.6014 GB, free: 10 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3831, allocations: 0 / 0.6014 GB, free: 10 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.3833, allocations: 16 kB / 0.6015 GB, free: 9.984 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.0001537/0.3835, allocations: 107.2 kB / 0.6016 GB, free: 9.867 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.3846, allocations: 183.8 kB / 0.6017 GB, free: 9.688 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3847, allocations: 0 / 0.6017 GB, free: 9.688 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005423/0.3852, allocations: 92.02 kB / 0.6018 GB, free: 9.598 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.3854, allocations: 11.7 kB / 0.6018 GB, free: 9.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.3865, allocations: 220.9 kB / 0.602 GB, free: 9.348 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.3867, allocations: 0.6729 MB / 0.6027 GB, free: 8.648 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001572/0.3868, allocations: 31.98 kB / 0.6027 GB, free: 8.617 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.3869, allocations: 11.42 kB / 0.6027 GB, free: 8.605 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3869, allocations: 4 kB / 0.6027 GB, free: 8.602 MB / 446.1 MB Notification: Performance of Templates: time 0.002626/0.3895, allocations: 0.8136 MB / 0.6035 GB, free: 7.82 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)