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.7783/0.7783, allocations: 127.4 MB / 134.9 MB, free: 3.441 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.001092/0.001092, allocations: 179.5 kB / 164.6 MB, free: 11.63 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.526/1.526, allocations: 205.2 MB / 399.5 MB, free: 13.49 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.0009134/0.0009134, allocations: 105.5 kB / 476.7 MB, free: 1.465 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.718e-05/1.72e-05, allocations: 3 kB / 0.5466 GB, free: 95.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1207, allocations: 76.77 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.2398, allocations: 101.9 MB / 0.721 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/0.24, allocations: 75.95 kB / 0.7211 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.00268/0.2427, allocations: 0.9455 MB / 0.722 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2427, allocations: 0 / 0.722 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.2428, allocations: 0 / 0.722 GB, free: 4.062 MB / 0.4948 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.0003262/0.2431, allocations: 342.5 kB / 0.7224 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2431, allocations: 8.031 kB / 0.7224 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.2432, allocations: 7.938 kB / 0.7224 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.2433, allocations: 167 kB / 0.7225 GB, free: 3.465 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.2433, allocations: 0 / 0.7225 GB, free: 3.465 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.2434, allocations: 0 / 0.7225 GB, free: 3.465 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.634e-05/0.2434, allocations: 12 kB / 0.7225 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.772e-05/0.2435, allocations: 41.69 kB / 0.7226 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.2435, allocations: 0 / 0.7226 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.2435, allocations: 0 / 0.7226 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2435, allocations: 0 / 0.7226 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.2439, allocations: 249.3 kB / 0.7228 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.959e-05/0.244, allocations: 30.58 kB / 0.7229 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.244, allocations: 8.922 kB / 0.7229 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003489/0.2444, allocations: 198.2 kB / 0.723 GB, free: 2.844 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.2444, allocations: 38.56 kB / 0.7231 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 3.666e-06/0.2444, allocations: 7.984 kB / 0.7231 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0002154/0.2446, allocations: 53.61 kB / 0.7231 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.2446, allocations: 55.34 kB / 0.7232 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.055e-05/0.2447, allocations: 92.95 kB / 0.7233 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.2447, allocations: 25.7 kB / 0.7233 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.2448, allocations: 88.14 kB / 0.7234 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.2448, allocations: 3.906 kB / 0.7234 GB, free: 2.441 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.2448, allocations: 4.031 kB / 0.7234 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2449, allocations: 314.8 kB / 0.7237 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.245, allocations: 8 kB / 0.7237 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.221e-05/0.245, allocations: 4 kB / 0.7237 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.132e-05/0.2451, allocations: 15.98 kB / 0.7237 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2451, allocations: 0 / 0.7237 GB, free: 2.094 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001278/0.2452, allocations: 49.69 kB / 0.7238 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.2452, allocations: 4 kB / 0.7238 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.2452, allocations: 96 / 0.7238 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.2452, allocations: 4 kB / 0.7238 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.2453, allocations: 11.98 kB / 0.7238 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.2454, allocations: 7.922 kB / 0.7238 GB, free: 2.012 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.482e-05/0.2454, allocations: 16.17 kB / 0.7238 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.2454, allocations: 3.953 kB / 0.7238 GB, free: 1.992 MB / 0.4948 GB 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 5.876e-05/0.2455, allocations: 101 kB / 0.7239 GB, free: 1.887 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.2455, allocations: 19.84 kB / 0.7239 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.2457, allocations: 57.42 kB / 0.724 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2457, allocations: 0 / 0.724 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.2457, allocations: 0 / 0.724 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2457, allocations: 4 kB / 0.724 GB, free: 1.801 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.2459, allocations: 138.2 kB / 0.7241 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2459, allocations: 0 / 0.7241 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.525e-05/0.2459, allocations: 12 kB / 0.7241 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2459, allocations: 0 / 0.7241 GB, free: 1.617 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.246, allocations: 8.016 kB / 0.7241 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.246, allocations: 0 / 0.7241 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.246, allocations: 0 / 0.7241 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.2461, allocations: 147.4 kB / 0.7243 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.2462, allocations: 81.11 kB / 0.7244 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.2462, allocations: 3.984 kB / 0.7244 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.982e-05/0.2463, allocations: 8.031 kB / 0.7244 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.2463, allocations: 7.984 kB / 0.7244 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2464, allocations: 0 / 0.7244 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.2464, allocations: 83.28 kB / 0.7245 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2464, allocations: 0 / 0.7245 GB, free: 1.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002178/0.2466, allocations: 12 kB / 0.7245 GB, free: 1.238 MB / 0.4948 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 () * 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.0001369/0.2468, allocations: 99.23 kB / 0.7246 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.608e-05/0.2468, allocations: 19.94 kB / 0.7246 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.2469, allocations: 4.062 kB / 0.7246 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.118e-05/0.2469, allocations: 15.92 kB / 0.7246 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.2471, allocations: 3.953 kB / 0.7246 GB, free: 1.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/0.2473, allocations: 59.94 kB / 0.7247 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.2475, allocations: 0.6768 MB / 0.7253 GB, free: 312 kB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.326e-05/0.2476, allocations: 3.938 kB / 0.7253 GB, free: 308 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.2476, allocations: 15.44 kB / 0.7253 GB, free: 292 kB / 0.4948 GB Notification: Performance of SimCode: time 2.51e-07/0.2476, allocations: 4.062 kB / 0.7254 GB, free: 288 kB / 0.4948 GB Notification: Performance of Templates: time 0.002165/0.2498, allocations: 0.4915 MB / 0.7258 GB, free: 15.79 MB / 0.5105 GB 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)