Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.732/0.732, allocations: 127.4 MB / 134.9 MB, free: 3.734 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 180.9 kB / 164.7 MB, free: 6.527 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.2 MB / 399.5 MB, free: 5.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008458/0.0008462, allocations: 94.09 kB / 476.7 MB, free: 8.578 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.944e-05/1.946e-05, allocations: 8 kB / 0.5466 GB, free: 60.49 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1374, allocations: 76.75 MB / 0.6215 GB, free: 15.67 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4978/0.6352, allocations: 102.1 MB / 0.7212 GB, free: 13.55 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.6355, allocations: 74.77 kB / 0.7213 GB, free: 13.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002848/0.6384, allocations: 0.9568 MB / 0.7223 GB, free: 12.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.6384, allocations: 0 / 0.7223 GB, free: 12.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.6384, allocations: 0 / 0.7223 GB, free: 12.64 MB / 490.7 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.0003429/0.6388, allocations: 330.3 kB / 0.7226 GB, free: 12.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.6388, allocations: 12.03 kB / 0.7226 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.683e-05/0.6388, allocations: 7.391 kB / 0.7226 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.639, allocations: 171.6 kB / 0.7228 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.639, allocations: 0 / 0.7228 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.639, allocations: 0 / 0.7228 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.148e-05/0.6391, allocations: 15.5 kB / 0.7228 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.921e-05/0.6392, allocations: 37.56 kB / 0.7228 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.6392, allocations: 0 / 0.7228 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.6392, allocations: 0 / 0.7228 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.6392, allocations: 0 / 0.7228 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.6396, allocations: 252.4 kB / 0.723 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.091e-05/0.6396, allocations: 30.31 kB / 0.7231 GB, free: 11.69 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.6397, allocations: 4.859 kB / 0.7231 GB, free: 11.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003415/0.64, allocations: 205.9 kB / 0.7233 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.6401, allocations: 40.67 kB / 0.7233 GB, free: 11.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.6401, allocations: 0 / 0.7233 GB, free: 11.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002363/0.6403, allocations: 49 kB / 0.7234 GB, free: 11.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.6404, allocations: 51.41 kB / 0.7234 GB, free: 11.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.494e-05/0.6405, allocations: 96.45 kB / 0.7235 GB, free: 11.19 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.6405, allocations: 25.73 kB / 0.7235 GB, free: 11.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.202e-05/0.6405, allocations: 91.5 kB / 0.7236 GB, free: 11.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.6406, allocations: 7.906 kB / 0.7236 GB, free: 11.06 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.6406, allocations: 0.75 kB / 0.7236 GB, free: 11.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6407, allocations: 310.8 kB / 0.7239 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.6407, allocations: 7.062 kB / 0.7239 GB, free: 10.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.132e-05/0.6408, allocations: 0 / 0.7239 GB, free: 10.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.887e-05/0.6408, allocations: 15.17 kB / 0.7239 GB, free: 10.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.6409, allocations: 4 kB / 0.7239 GB, free: 10.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001252/0.641, allocations: 56.86 kB / 0.724 GB, free: 10.67 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.641, allocations: 8 kB / 0.724 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.641, allocations: 3.938 kB / 0.724 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.6411, allocations: 0 / 0.724 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.642e-05/0.6412, allocations: 11.98 kB / 0.724 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.6412, allocations: 1.516 kB / 0.724 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.6412, allocations: 8 kB / 0.724 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.6412, allocations: 7.984 kB / 0.724 GB, free: 10.63 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.377e-05/0.6413, allocations: 108.5 kB / 0.7241 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.6414, allocations: 3.906 kB / 0.7241 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.6415, allocations: 56.73 kB / 0.7242 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.6415, allocations: 3.938 kB / 0.7242 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6416, allocations: 3.984 kB / 0.7242 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6416, allocations: 0 / 0.7242 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.6417, allocations: 144.7 kB / 0.7243 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6417, allocations: 0 / 0.7243 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.488e-05/0.6418, allocations: 20.02 kB / 0.7244 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.6418, allocations: 0 / 0.7244 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.6418, allocations: 0 / 0.7244 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6418, allocations: 0 / 0.7244 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6418, allocations: 0 / 0.7244 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.642, allocations: 150.5 kB / 0.7245 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.6421, allocations: 81.14 kB / 0.7246 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.6421, allocations: 0 / 0.7246 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-05/0.6422, allocations: 11.98 kB / 0.7246 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.6422, allocations: 0 / 0.7246 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-06/0.6422, allocations: 0 / 0.7246 GB, free: 9.996 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.222e-05/0.6423, allocations: 82.91 kB / 0.7247 GB, free: 9.918 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6423, allocations: 0 / 0.7247 GB, free: 9.918 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002285/0.6425, allocations: 15.94 kB / 0.7247 GB, free: 9.902 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001642/0.6427, allocations: 115.2 kB / 0.7248 GB, free: 9.781 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.098e-05/0.6428, allocations: 11.38 kB / 0.7248 GB, free: 9.773 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.6428, allocations: 0 / 0.7248 GB, free: 9.773 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.193e-05/0.6428, allocations: 11.19 kB / 0.7248 GB, free: 9.766 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.643, allocations: 7.938 kB / 0.7248 GB, free: 9.758 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001854/0.6432, allocations: 55.38 kB / 0.7249 GB, free: 9.684 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.6434, allocations: 0.6808 MB / 0.7255 GB, free: 8.977 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.374e-05/0.6434, allocations: 4 kB / 0.7255 GB, free: 8.973 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.024e-05/0.6435, allocations: 7.438 kB / 0.7256 GB, free: 8.965 MB / 490.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6435, allocations: 3.938 kB / 0.7256 GB, free: 8.961 MB / 490.7 MB Notification: Performance of Templates: time 0.002295/0.6458, allocations: 0.4952 MB / 0.726 GB, free: 8.477 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)