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.0008091/0.0008087, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008995/0.0008995, allocations: 185.4 kB / 16.92 MB, free: 6.707 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.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.363 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.029/1.029, allocations: 143.2 MB / 435.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 16 kB / 0.5171 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1717, allocations: 83.41 MB / 0.5985 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0007681/0.1725, allocations: 319 kB / 0.5988 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.1741, allocations: 1.1 MB / 0.5999 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.282e-05/0.1741, allocations: 0 / 0.5999 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.1741, allocations: 0 / 0.5999 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1743, allocations: 19.98 kB / 0.5999 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.996e-06/0.1743, allocations: 0 / 0.5999 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.405e-05/0.1744, allocations: 3.938 kB / 0.5999 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.521e-05/0.1744, allocations: 7.984 kB / 0.5999 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.514e-05/0.1745, allocations: 3.938 kB / 0.5999 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.182e-05/0.1745, allocations: 0 / 0.5999 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.953e-06/0.1745, allocations: 0 / 0.5999 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.1746, allocations: 23.97 kB / 0.5999 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.554e-06/0.1746, allocations: 3.938 kB / 0.6 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.1747, allocations: 29.7 kB / 0.6 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.781e-05/0.1747, allocations: 7.984 kB / 0.6 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1747, allocations: 7.938 kB / 0.6 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.854e-06/0.1747, allocations: 3.938 kB / 0.6 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.1748, allocations: 0 / 0.6 GB, free: 6.199 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.0002541/0.175, allocations: 311.6 kB / 0.6003 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1751, allocations: 8.031 kB / 0.6003 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.1751, allocations: 4.938 kB / 0.6003 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.988e-05/0.1752, allocations: 164.4 kB / 0.6005 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1752, allocations: 384 / 0.6005 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.1752, allocations: 8.359 kB / 0.6005 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.1754, allocations: 38.02 kB / 0.6005 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1754, allocations: 0 / 0.6005 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.1754, allocations: 0 / 0.6005 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1754, allocations: 0 / 0.6005 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.129e-05/0.1754, allocations: 11.92 kB / 0.6005 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.1756, allocations: 153.6 kB / 0.6007 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.1758, allocations: 38.56 kB / 0.6007 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.1758, allocations: 8.859 kB / 0.6007 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001495/0.176, allocations: 81.19 kB / 0.6008 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.176, allocations: 38.5 kB / 0.6008 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.176, allocations: 0 / 0.6008 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.00425/0.1803, allocations: 0.5718 MB / 0.6014 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.1803, allocations: 55.41 kB / 0.6014 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.605e-05/0.1804, allocations: 93.8 kB / 0.6015 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.1804, allocations: 29.7 kB / 0.6016 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.1804, allocations: 80.14 kB / 0.6016 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.1805, allocations: 15.8 kB / 0.6016 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.1805, allocations: 13.72 kB / 0.6017 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1806, allocations: 310.8 kB / 0.602 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006184/0.1813, allocations: 83.95 kB / 0.602 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006008/0.1819, allocations: 102.5 kB / 0.6021 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.1831, allocations: 186.4 kB / 0.6023 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1831, allocations: 4 kB / 0.6023 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00126/0.1844, allocations: 221.5 kB / 0.6025 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1844, allocations: 4 kB / 0.6025 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1844, allocations: 0 / 0.6025 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1844, allocations: 4 kB / 0.6025 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.1848, allocations: 51.94 kB / 0.6026 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1848, allocations: 0 / 0.6026 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.1852, allocations: 43.97 kB / 0.6026 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.1852, allocations: 4.188 kB / 0.6026 GB, free: 3.246 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.339e-05/0.1853, allocations: 109.8 kB / 0.6027 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.1853, allocations: 7.844 kB / 0.6027 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.1867, allocations: 249 kB / 0.603 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1867, allocations: 0 / 0.603 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1867, allocations: 0 / 0.603 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1868, allocations: 0 / 0.603 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.1883, allocations: 454.4 kB / 0.6034 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1883, allocations: 7.984 kB / 0.6034 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.1887, allocations: 43.98 kB / 0.6035 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.1887, allocations: 4.406 kB / 0.6035 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1887, allocations: 8 kB / 0.6035 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1887, allocations: 0 / 0.6035 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1887, allocations: 0 / 0.6035 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.19, allocations: 303.4 kB / 0.6038 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.19, allocations: 81.09 kB / 0.6038 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.1901, allocations: 0 / 0.6038 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.1904, allocations: 39.98 kB / 0.6039 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.1905, allocations: 3.984 kB / 0.6039 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.1905, allocations: 8 kB / 0.6039 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.1905, allocations: 79.28 kB / 0.604 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1905, allocations: 3.938 kB / 0.604 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002429/0.1908, allocations: 8 kB / 0.604 GB, free: 1.762 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 (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.0001792/0.191, allocations: 103.2 kB / 0.6041 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001251/0.1922, allocations: 179.8 kB / 0.6043 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1922, allocations: 192 / 0.6043 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005946/0.1928, allocations: 95.89 kB / 0.6043 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.1931, allocations: 2.812 kB / 0.6043 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1942, allocations: 256.2 kB / 0.6046 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.1945, allocations: 0.677 MB / 0.6053 GB, free: 404 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.462e-05/0.1946, allocations: 11.44 kB / 0.6053 GB, free: 392 kB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1946, allocations: 0 / 0.6053 GB, free: 392 kB / 0.4981 GB Notification: Performance of Templates: time 0.2516/0.4461, allocations: 1.09 MB / 0.6063 GB, free: 40.76 MB / 0.4981 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)