Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8238/0.8238, allocations: 141.8 MB / 149.3 MB, free: 9.234 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 175.8 kB / 182.2 MB, free: 9.477 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.5 MB / 436.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 88.09 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001707, allocations: 283.7 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.569e-05/1.573e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3406, allocations: 82.76 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.4653, allocations: 109.7 MB / 0.8645 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.4656, allocations: 79.83 kB / 0.8646 GB, free: 2.102 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01609/0.4817, allocations: 5.085 MB / 0.8696 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4817, allocations: 0 / 0.8696 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.4817, allocations: 4 kB / 0.8696 GB, free: 13 MB / 0.5417 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.0005383/0.4823, allocations: 410.2 kB / 0.8699 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4823, allocations: 15.97 kB / 0.87 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008515/0.4832, allocations: 115.7 kB / 0.8701 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.4833, allocations: 187.7 kB / 0.8703 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.4835, allocations: 59.41 kB / 0.8703 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.4835, allocations: 4 kB / 0.8703 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001898/0.4837, allocations: 71.98 kB / 0.8704 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.4839, allocations: 107 kB / 0.8705 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.4839, allocations: 0 / 0.8705 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.484, allocations: 4 kB / 0.8705 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.484, allocations: 4 kB / 0.8705 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.4853, allocations: 486.3 kB / 0.871 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/0.4859, allocations: 166.4 kB / 0.8711 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.774e-05/0.486, allocations: 44.97 kB / 0.8712 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.486, allocations: 4 kB / 0.8712 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.4861, allocations: 30.56 kB / 0.8712 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.4861, allocations: 0 / 0.8712 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0002556/0.4863, allocations: 105.7 kB / 0.8713 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.4864, allocations: 51.41 kB / 0.8713 GB, free: 11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.544e-05/0.4865, allocations: 122.7 kB / 0.8715 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.4865, allocations: 29.7 kB / 0.8715 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.4866, allocations: 108.1 kB / 0.8716 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.4866, allocations: 19.75 kB / 0.8716 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.4866, allocations: 3.938 kB / 0.8716 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.4867, allocations: 322.8 kB / 0.8719 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/0.4868, allocations: 28 kB / 0.8719 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.169e-05/0.4869, allocations: 54.56 kB / 0.872 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.363e-05/0.4869, allocations: 35.98 kB / 0.872 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4869, allocations: 0 / 0.872 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001828/0.4871, allocations: 113.5 kB / 0.8721 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.4871, allocations: 4 kB / 0.8721 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.4872, allocations: 4 kB / 0.8721 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.4872, allocations: 0 / 0.8721 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.4875, allocations: 48.02 kB / 0.8722 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.4875, allocations: 3.938 kB / 0.8722 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.4877, allocations: 39.86 kB / 0.8722 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.4877, allocations: 4 kB / 0.8722 GB, free: 10.04 MB / 0.5417 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.19e-05/0.4878, allocations: 105 kB / 0.8723 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.4878, allocations: 11.86 kB / 0.8723 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.4881, allocations: 114.3 kB / 0.8725 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4881, allocations: 0 / 0.8725 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4881, allocations: 3.984 kB / 0.8725 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.4881, allocations: 0 / 0.8725 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.4883, allocations: 214.9 kB / 0.8727 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4883, allocations: 0 / 0.8727 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.4886, allocations: 47.89 kB / 0.8727 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.4886, allocations: 4.141 kB / 0.8727 GB, free: 9.488 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.4886, allocations: 8 kB / 0.8727 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4887, allocations: 0 / 0.8727 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4887, allocations: 0 / 0.8727 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.4889, allocations: 203.4 kB / 0.8729 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.957e-05/0.4889, allocations: 85.02 kB / 0.873 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.489, allocations: 3.953 kB / 0.873 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.4893, allocations: 39.95 kB / 0.873 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.4894, allocations: 8 kB / 0.873 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.4894, allocations: 7.984 kB / 0.8731 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.667e-05/0.4895, allocations: 100.6 kB / 0.8732 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4895, allocations: 3.938 kB / 0.8732 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002724/0.4897, allocations: 23.91 kB / 0.8732 GB, free: 8.98 MB / 0.5417 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.0001146/0.4899, allocations: 99.19 kB / 0.8733 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.49, allocations: 79.98 kB / 0.8733 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4901, allocations: 128 / 0.8733 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.643e-05/0.4902, allocations: 47.92 kB / 0.8734 GB, free: 8.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.4903, allocations: 5.031 kB / 0.8734 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.4907, allocations: 137.8 kB / 0.8735 GB, free: 8.59 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.4909, allocations: 0.7041 MB / 0.8742 GB, free: 7.859 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.4911, allocations: 16.17 kB / 0.8742 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.4911, allocations: 15.42 kB / 0.8742 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of SimCode: time 2.71e-07/0.4911, allocations: 0 / 0.8742 GB, free: 7.828 MB / 0.5417 GB Notification: Performance of Templates: time 0.003266/0.4944, allocations: 1.257 MB / 0.8755 GB, free: 6.586 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)