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.005406/0.005406, allocations: 97.73 kB / 15.73 MB, free: 6.051 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.001117/0.001117, allocations: 200 kB / 16.68 MB, free: 5.98 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.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 1.104/1.104, allocations: 143 MB / 433.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.91 kB / 0.5956 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4695/0.471, allocations: 82.03 MB / 0.6757 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001716/0.4728, allocations: 0.5784 MB / 0.6762 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.474, allocations: 1.109 MB / 0.6773 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.474, allocations: 4 kB / 0.6773 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.324e-05/0.474, allocations: 0 / 0.6773 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.4743, allocations: 27.44 kB / 0.6774 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.108e-06/0.4743, allocations: 0 / 0.6774 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.421e-05/0.4744, allocations: 6.188 kB / 0.6774 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.4744, allocations: 0.9688 kB / 0.6774 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.515e-05/0.4744, allocations: 5.156 kB / 0.6774 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.529e-05/0.4745, allocations: 1.281 kB / 0.6774 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.096e-06/0.4745, allocations: 0 / 0.6774 GB, free: 96 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.4746, allocations: 23.89 kB / 0.6774 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.324e-06/0.4746, allocations: 9.266 kB / 0.6774 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.348e-05/0.4746, allocations: 0 / 0.6774 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.749e-05/0.4747, allocations: 17.86 kB / 0.6774 GB, free: 60 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4747, allocations: 0 / 0.6774 GB, free: 60 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4747, allocations: 0 / 0.6774 GB, free: 60 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.4747, allocations: 1.312 kB / 0.6774 GB, free: 60 kB / 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.0003371/0.4751, allocations: 317.8 kB / 0.6777 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4751, allocations: 10.44 kB / 0.6777 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.4752, allocations: 2.031 kB / 0.6777 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.973e-05/0.4753, allocations: 168.4 kB / 0.6779 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4753, allocations: 5.938 kB / 0.6779 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.4753, allocations: 1.75 kB / 0.6779 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.4754, allocations: 37.86 kB / 0.6779 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4754, allocations: 3.953 kB / 0.6779 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.4755, allocations: 3.984 kB / 0.6779 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4755, allocations: 1.406 kB / 0.6779 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.986e-05/0.4755, allocations: 11.27 kB / 0.678 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.4757, allocations: 144.4 kB / 0.6781 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.4759, allocations: 38.39 kB / 0.6781 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.18e-05/0.4759, allocations: 12.55 kB / 0.6781 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.476, allocations: 84.69 kB / 0.6782 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.4761, allocations: 42.44 kB / 0.6783 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4761, allocations: 1.125 kB / 0.6783 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.004033/0.4801, allocations: 0.5687 MB / 0.6788 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.4801, allocations: 55.41 kB / 0.6789 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.008e-05/0.4802, allocations: 90.89 kB / 0.679 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.285e-05/0.4802, allocations: 25.7 kB / 0.679 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.522e-05/0.4803, allocations: 81.27 kB / 0.6791 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.4803, allocations: 24.88 kB / 0.6791 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.4804, allocations: 14.75 kB / 0.6791 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4805, allocations: 319.8 kB / 0.6794 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005688/0.4811, allocations: 82.73 kB / 0.6795 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/0.4816, allocations: 108.1 kB / 0.6796 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.4828, allocations: 190.8 kB / 0.6798 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4828, allocations: 1.031 kB / 0.6798 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001215/0.484, allocations: 213.9 kB / 0.68 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.484, allocations: 5.5 kB / 0.68 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4841, allocations: 1.219 kB / 0.68 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4841, allocations: 1.062 kB / 0.68 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.4845, allocations: 50.16 kB / 0.68 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.4845, allocations: 9.047 kB / 0.68 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.4848, allocations: 38.45 kB / 0.6801 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.4849, allocations: 2.469 kB / 0.6801 GB, free: 14 MB / 0.5137 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 8.899e-05/0.485, allocations: 115 kB / 0.6802 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.485, allocations: 10.16 kB / 0.6802 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.4863, allocations: 234.3 kB / 0.6804 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4863, allocations: 1.344 kB / 0.6804 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4863, allocations: 0 / 0.6804 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.4863, allocations: 0 / 0.6804 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.4878, allocations: 458.5 kB / 0.6809 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4878, allocations: 1.156 kB / 0.6809 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.4882, allocations: 48.69 kB / 0.6809 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4882, allocations: 1.125 kB / 0.6809 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.4882, allocations: 5.344 kB / 0.6809 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4882, allocations: 3.984 kB / 0.6809 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.4882, allocations: 4 kB / 0.6809 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.4895, allocations: 315.3 kB / 0.6812 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.4895, allocations: 77.11 kB / 0.6813 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.4896, allocations: 1.375 kB / 0.6813 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.4899, allocations: 42.19 kB / 0.6813 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.49, allocations: 1.672 kB / 0.6813 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.49, allocations: 2.562 kB / 0.6813 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.513e-05/0.49, allocations: 79.28 kB / 0.6814 GB, free: 13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.49, allocations: 0 / 0.6814 GB, free: 13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002445/0.4903, allocations: 13.12 kB / 0.6814 GB, free: 13 MB / 0.5137 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 (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.0001666/0.4904, allocations: 113.2 kB / 0.6815 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.4917, allocations: 181.1 kB / 0.6817 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4917, allocations: 0 / 0.6817 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005829/0.4923, allocations: 92.36 kB / 0.6818 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.4925, allocations: 5.875 kB / 0.6818 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.4936, allocations: 213.3 kB / 0.682 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.4939, allocations: 0.6769 MB / 0.6827 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001736/0.4941, allocations: 28.11 kB / 0.6827 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.27e-05/0.4942, allocations: 10.19 kB / 0.6827 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.4942, allocations: 0 / 0.6827 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of Templates: time 0.002821/0.497, allocations: 0.8315 MB / 0.6835 GB, free: 11.51 MB / 0.5137 GB 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)