Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7626/0.7626, allocations: 127.4 MB / 134.9 MB, free: 3.484 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.00102/0.00102, allocations: 175.5 kB / 164.6 MB, free: 11.62 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.481/1.481, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.0008011/0.0008014, allocations: 89.52 kB / 476.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.786e-05/1.787e-05, allocations: 5.406 kB / 0.5466 GB, free: 95.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1472, allocations: 76.77 MB / 0.6215 GB, free: 43.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.2824, allocations: 103.8 MB / 0.7229 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/0.2828, allocations: 79.95 kB / 0.7229 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01616/0.2989, allocations: 5.393 MB / 0.7282 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.403e-06/0.299, allocations: 0 / 0.7282 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.299, allocations: 0 / 0.7282 GB, free: 13.72 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004655/0.2995, allocations: 414.2 kB / 0.7286 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.2995, allocations: 12.03 kB / 0.7286 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007528/0.3003, allocations: 119.6 kB / 0.7287 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.3004, allocations: 173.2 kB / 0.7289 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.422e-05/0.3005, allocations: 59.41 kB / 0.729 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.3005, allocations: 11.94 kB / 0.729 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001669/0.3007, allocations: 79.89 kB / 0.729 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.3009, allocations: 105.6 kB / 0.7291 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.3009, allocations: 0 / 0.7291 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.301, allocations: 7.984 kB / 0.7292 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.301, allocations: 0 / 0.7292 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.302, allocations: 466.6 kB / 0.7296 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/0.3026, allocations: 166.5 kB / 0.7298 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.508e-05/0.3027, allocations: 37.91 kB / 0.7298 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.3027, allocations: 7.984 kB / 0.7298 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.3028, allocations: 42.5 kB / 0.7298 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3028, allocations: 3.938 kB / 0.7298 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0002303/0.303, allocations: 101.7 kB / 0.7299 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.3031, allocations: 55.41 kB / 0.73 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.381e-05/0.3032, allocations: 124.9 kB / 0.7301 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.3032, allocations: 25.7 kB / 0.7301 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.3033, allocations: 104.2 kB / 0.7302 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.3033, allocations: 23.7 kB / 0.7303 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.3033, allocations: 0 / 0.7303 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.425e-05/0.3034, allocations: 314.8 kB / 0.7306 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.183e-05/0.3035, allocations: 35.98 kB / 0.7306 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.569e-05/0.3036, allocations: 54.58 kB / 0.7306 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.365e-05/0.3036, allocations: 23.98 kB / 0.7307 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3036, allocations: 3.938 kB / 0.7307 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001767/0.3038, allocations: 113.6 kB / 0.7308 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3038, allocations: 4 kB / 0.7308 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3038, allocations: 0 / 0.7308 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3039, allocations: 4 kB / 0.7308 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.3042, allocations: 47.95 kB / 0.7308 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3042, allocations: 4 kB / 0.7308 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.3045, allocations: 43.75 kB / 0.7309 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.3045, allocations: 8 kB / 0.7309 GB, free: 10.76 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.592e-05/0.3046, allocations: 108.9 kB / 0.731 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.3046, allocations: 7.906 kB / 0.731 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.3048, allocations: 122.2 kB / 0.7311 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3049, allocations: 0 / 0.7311 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3049, allocations: 0 / 0.7311 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3049, allocations: 4 kB / 0.7311 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.3052, allocations: 211 kB / 0.7313 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3052, allocations: 0 / 0.7313 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.3055, allocations: 39.95 kB / 0.7314 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3055, allocations: 0 / 0.7314 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3055, allocations: 0 / 0.7314 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.3055, allocations: 7.984 kB / 0.7314 GB, free: 10.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3055, allocations: 4 kB / 0.7314 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.3057, allocations: 207.5 kB / 0.7316 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.3058, allocations: 85.02 kB / 0.7317 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.3058, allocations: 0 / 0.7317 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.3061, allocations: 43.95 kB / 0.7317 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.3062, allocations: 7.984 kB / 0.7317 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.3062, allocations: 3.938 kB / 0.7317 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.826e-05/0.3063, allocations: 107 kB / 0.7318 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3063, allocations: 0 / 0.7318 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002502/0.3065, allocations: 27.84 kB / 0.7318 GB, free: 9.711 MB / 0.5105 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 (6): * Single equations (assignments): 6 * 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.0001324/0.3067, allocations: 103.2 kB / 0.7319 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001766/0.3069, allocations: 75.98 kB / 0.732 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3069, allocations: 0 / 0.732 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.85e-05/0.3069, allocations: 43.92 kB / 0.732 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.3071, allocations: 4 kB / 0.732 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.3075, allocations: 140.5 kB / 0.7322 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.3077, allocations: 0.7042 MB / 0.7329 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000105/0.3078, allocations: 19.92 kB / 0.7329 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.424e-05/0.3079, allocations: 15.44 kB / 0.7329 GB, free: 8.551 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/0.3079, allocations: 0 / 0.7329 GB, free: 8.551 MB / 0.5105 GB Notification: Performance of Templates: time 0.003405/0.3113, allocations: 1.26 MB / 0.7341 GB, free: 7.297 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)