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.000717/0.000717, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007293/0.0007292, allocations: 168.7 kB / 15.95 MB, free: 204 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.156/1.156, allocations: 223.3 MB / 240 MB, free: 5.418 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 0.8529/0.8529, allocations: 143.2 MB / 434.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002645/0.0002645, allocations: 12 kB / 0.5158 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1319, allocations: 83.42 MB / 0.5973 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0006231/0.1325, allocations: 323 kB / 0.5976 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1336, allocations: 1.077 MB / 0.5986 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.774e-05/0.1336, allocations: 0 / 0.5986 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.005e-05/0.1337, allocations: 3.938 kB / 0.5986 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.1338, allocations: 11.98 kB / 0.5986 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 2.114e-06/0.1338, allocations: 0 / 0.5986 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 2.585e-05/0.1339, allocations: 4 kB / 0.5986 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.301e-05/0.1339, allocations: 0 / 0.5986 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.749e-06/0.1339, allocations: 7.938 kB / 0.5987 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.378e-05/0.134, allocations: 11.98 kB / 0.5987 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.911e-06/0.134, allocations: 0 / 0.5987 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.767e-05/0.1341, allocations: 15.92 kB / 0.5987 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.258e-06/0.1341, allocations: 4 kB / 0.5987 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.1341, allocations: 29.69 kB / 0.5987 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.29e-05/0.1341, allocations: 4 kB / 0.5987 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1341, allocations: 0 / 0.5987 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1342, allocations: 0 / 0.5987 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.605e-06/0.1342, allocations: 0 / 0.5987 GB, free: 6.609 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.0002009/0.1344, allocations: 319.4 kB / 0.599 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.742e-05/0.1344, allocations: 8.031 kB / 0.599 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.1344, allocations: 0 / 0.599 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.973e-05/0.1345, allocations: 171 kB / 0.5992 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.1345, allocations: 0 / 0.5992 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.1345, allocations: 4 kB / 0.5992 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.662e-05/0.1346, allocations: 37.62 kB / 0.5992 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1346, allocations: 0 / 0.5992 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.141e-06/0.1347, allocations: 0 / 0.5992 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1347, allocations: 0 / 0.5992 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.099e-05/0.1347, allocations: 11.98 kB / 0.5992 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.1348, allocations: 161.5 kB / 0.5994 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.135, allocations: 38.55 kB / 0.5994 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.135, allocations: 12.8 kB / 0.5994 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.1351, allocations: 85.19 kB / 0.5995 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.1352, allocations: 38.56 kB / 0.5996 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1352, allocations: 0 / 0.5996 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.003141/0.1383, allocations: 0.5679 MB / 0.6001 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.1384, allocations: 55.41 kB / 0.6002 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.738e-05/0.1384, allocations: 89.86 kB / 0.6003 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1384, allocations: 25.7 kB / 0.6003 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.1384, allocations: 80.14 kB / 0.6004 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.1385, allocations: 11.81 kB / 0.6004 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/0.1385, allocations: 4 kB / 0.6004 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.615e-05/0.1386, allocations: 318.8 kB / 0.6007 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/0.139, allocations: 83.94 kB / 0.6008 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.1395, allocations: 102.5 kB / 0.6009 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.1399, allocations: 87.95 kB / 0.6009 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1399, allocations: 0 / 0.6009 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0008934/0.1408, allocations: 205.6 kB / 0.6011 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1408, allocations: 11.98 kB / 0.6011 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1408, allocations: 8 kB / 0.6012 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/0.1409, allocations: 0 / 0.6012 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.1412, allocations: 47.97 kB / 0.6012 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1412, allocations: 4 kB / 0.6012 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.1414, allocations: 35.98 kB / 0.6012 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1414, allocations: 4 kB / 0.6012 GB, free: 3.777 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 6.932e-05/0.1415, allocations: 121.8 kB / 0.6014 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.1415, allocations: 3.906 kB / 0.6014 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009985/0.1425, allocations: 233 kB / 0.6016 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1426, allocations: 0 / 0.6016 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1426, allocations: 4.25 kB / 0.6016 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1426, allocations: 4 kB / 0.6016 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.1437, allocations: 454.5 kB / 0.602 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1437, allocations: 0 / 0.602 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.144, allocations: 59.84 kB / 0.6021 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.144, allocations: 0 / 0.6021 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.144, allocations: 0 / 0.6021 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.144, allocations: 7.938 kB / 0.6021 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.144, allocations: 0 / 0.6021 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009113/0.1449, allocations: 303.4 kB / 0.6024 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.145, allocations: 77.11 kB / 0.6024 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.145, allocations: 4 kB / 0.6025 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.1453, allocations: 39.97 kB / 0.6025 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.1453, allocations: 8 kB / 0.6025 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.1453, allocations: 0 / 0.6025 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.078e-05/0.1453, allocations: 75.28 kB / 0.6026 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.1453, allocations: 0 / 0.6026 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002183/0.1456, allocations: 12 kB / 0.6026 GB, free: 2.297 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.0001401/0.1457, allocations: 111.2 kB / 0.6027 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009089/0.1466, allocations: 172 kB / 0.6029 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1466, allocations: 0 / 0.6029 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004387/0.1471, allocations: 100 kB / 0.6029 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.1473, allocations: 7.953 kB / 0.603 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008334/0.1481, allocations: 214.6 kB / 0.6032 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/0.1483, allocations: 0.6809 MB / 0.6038 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001975/0.1485, allocations: 24 kB / 0.6038 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.1486, allocations: 11.44 kB / 0.6039 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1486, allocations: 0 / 0.6039 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of Templates: time 0.00239/0.151, allocations: 0.7933 MB / 0.6046 GB, free: 148 kB / 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)