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.7278/0.7278, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 180.8 kB / 169.7 MB, free: 1.758 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.747/1.747, allocations: 205.1 MB / 404.5 MB, free: 1.656 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.0009144/0.0009146, allocations: 99.36 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.595e-05, allocations: 7.984 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1594, allocations: 76.75 MB / 0.6282 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4992/0.6587, allocations: 102.6 MB / 0.7283 GB, free: 10.79 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.6589, allocations: 70.45 kB / 0.7284 GB, free: 10.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00269/0.6616, allocations: 0.9515 MB / 0.7293 GB, free: 9.875 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6617, allocations: 0 / 0.7293 GB, free: 9.875 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.6617, allocations: 0 / 0.7293 GB, free: 9.875 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.0003093/0.662, allocations: 326.5 kB / 0.7296 GB, free: 9.512 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.6621, allocations: 12.03 kB / 0.7296 GB, free: 9.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.036e-05/0.6621, allocations: 7.453 kB / 0.7296 GB, free: 9.496 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.6622, allocations: 171.6 kB / 0.7298 GB, free: 9.289 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.6622, allocations: 4 kB / 0.7298 GB, free: 9.285 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.6622, allocations: 0 / 0.7298 GB, free: 9.285 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.805e-05/0.6623, allocations: 41.23 kB / 0.7299 GB, free: 9.242 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.6624, allocations: 0 / 0.7299 GB, free: 9.242 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.6624, allocations: 0 / 0.7299 GB, free: 9.242 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.6624, allocations: 4 kB / 0.7299 GB, free: 9.238 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.184e-05/0.6624, allocations: 7.25 kB / 0.7299 GB, free: 9.234 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.6629, allocations: 275.1 kB / 0.7301 GB, free: 8.926 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.184e-05/0.6629, allocations: 30.02 kB / 0.7302 GB, free: 8.891 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.496e-05/0.663, allocations: 12.55 kB / 0.7302 GB, free: 8.879 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003614/0.6633, allocations: 206.2 kB / 0.7304 GB, free: 8.641 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.6634, allocations: 31.22 kB / 0.7304 GB, free: 8.602 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6634, allocations: 0 / 0.7304 GB, free: 8.602 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001406/0.6635, allocations: 41.16 kB / 0.7304 GB, free: 8.559 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.6636, allocations: 55.34 kB / 0.7305 GB, free: 8.492 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.6636, allocations: 100.3 kB / 0.7306 GB, free: 8.391 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.6637, allocations: 31.89 kB / 0.7306 GB, free: 8.355 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.6637, allocations: 83.95 kB / 0.7307 GB, free: 8.273 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.6637, allocations: 3.906 kB / 0.7307 GB, free: 8.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.6638, allocations: 4 kB / 0.7307 GB, free: 8.266 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.6639, allocations: 310.8 kB / 0.731 GB, free: 7.953 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.788e-05/0.6639, allocations: 7.562 kB / 0.731 GB, free: 7.949 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.202e-05/0.6639, allocations: 0 / 0.731 GB, free: 7.949 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.127e-05/0.6639, allocations: 11.61 kB / 0.731 GB, free: 7.941 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.6639, allocations: 4 kB / 0.731 GB, free: 7.938 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.893e-05/0.664, allocations: 41.33 kB / 0.7311 GB, free: 7.895 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.664, allocations: 4 kB / 0.7311 GB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.6641, allocations: 2.375 kB / 0.7311 GB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.6641, allocations: 4 kB / 0.7311 GB, free: 7.887 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.125e-05/0.6642, allocations: 19.86 kB / 0.7311 GB, free: 7.867 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6642, allocations: 3.953 kB / 0.7311 GB, free: 7.863 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.6642, allocations: 12.02 kB / 0.7311 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.6643, allocations: 4 kB / 0.7311 GB, free: 7.848 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 6.962e-05/0.6643, allocations: 104.8 kB / 0.7312 GB, free: 7.742 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.6644, allocations: 3.906 kB / 0.7312 GB, free: 7.738 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.6645, allocations: 48.5 kB / 0.7313 GB, free: 7.691 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.6645, allocations: 3.938 kB / 0.7313 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6645, allocations: 0 / 0.7313 GB, free: 7.688 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6645, allocations: 3.953 kB / 0.7313 GB, free: 7.684 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.6647, allocations: 157.3 kB / 0.7314 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.6647, allocations: 0 / 0.7314 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.379e-05/0.6647, allocations: 15.98 kB / 0.7314 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6648, allocations: 0 / 0.7314 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.6648, allocations: 3.75 kB / 0.7314 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.6648, allocations: 3.938 kB / 0.7314 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.6648, allocations: 0 / 0.7314 GB, free: 7.465 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.6649, allocations: 142.9 kB / 0.7316 GB, free: 7.312 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.665, allocations: 77.11 kB / 0.7316 GB, free: 7.219 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.665, allocations: 0.875 kB / 0.7316 GB, free: 7.219 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.966e-05/0.6651, allocations: 11.98 kB / 0.7317 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.6651, allocations: 3.875 kB / 0.7317 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.6651, allocations: 0 / 0.7317 GB, free: 7.207 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.783e-05/0.6652, allocations: 94.11 kB / 0.7318 GB, free: 7.117 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6652, allocations: 0 / 0.7318 GB, free: 7.117 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002181/0.6654, allocations: 15.97 kB / 0.7318 GB, free: 7.102 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.0001488/0.6655, allocations: 103 kB / 0.7319 GB, free: 6.992 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.693e-05/0.6656, allocations: 23.38 kB / 0.7319 GB, free: 6.977 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6656, allocations: 0 / 0.7319 GB, free: 6.977 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.163e-05/0.6657, allocations: 4 kB / 0.7319 GB, free: 6.973 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.6658, allocations: 7.953 kB / 0.7319 GB, free: 6.965 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001692/0.666, allocations: 60.86 kB / 0.732 GB, free: 6.891 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.6662, allocations: 0.6809 MB / 0.7326 GB, free: 6.184 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.617e-05/0.6663, allocations: 11.92 kB / 0.7326 GB, free: 6.172 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.6663, allocations: 7.438 kB / 0.7326 GB, free: 6.164 MB / 490.7 MB Notification: Performance of SimCode: time 8.11e-07/0.6663, allocations: 0 / 0.7326 GB, free: 6.164 MB / 490.7 MB Notification: Performance of Templates: time 0.002506/0.6688, allocations: 0.5405 MB / 0.7332 GB, free: 5.637 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)