Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.52/1.52, allocations: 289.9 MB / 297.4 MB, free: 6.355 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009876/0.0009874, allocations: 176.8 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.2 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 81.23 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.536e-05/1.559e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6293/0.6294, allocations: 116.3 MB / 0.9732 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1816/0.811, allocations: 140.1 MB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.8114, allocations: 69.16 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01532/0.8267, allocations: 5.009 MB / 1.115 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8268, allocations: 4 kB / 1.115 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.8268, allocations: 0 / 1.115 GB, free: 5.102 MB / 0.7136 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.0005334/0.8273, allocations: 412.1 kB / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.8274, allocations: 11.62 kB / 1.115 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006871/0.8281, allocations: 112.6 kB / 1.116 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.8282, allocations: 194.7 kB / 1.116 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.315e-05/0.8283, allocations: 59.41 kB / 1.116 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.8284, allocations: 4 kB / 1.116 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000163/0.8285, allocations: 71.98 kB / 1.116 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.8287, allocations: 109.6 kB / 1.116 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.8288, allocations: 0 / 1.116 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.8288, allocations: 0 / 1.116 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.8288, allocations: 4 kB / 1.116 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.8299, allocations: 480.3 kB / 1.116 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005944/0.8305, allocations: 162.5 kB / 1.117 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.322e-05/0.8306, allocations: 44.97 kB / 1.117 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.8306, allocations: 4 kB / 1.117 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.8306, allocations: 34.56 kB / 1.117 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.8306, allocations: 0 / 1.117 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002617/0.8309, allocations: 97.73 kB / 1.117 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.8309, allocations: 59.34 kB / 1.117 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.831, allocations: 119 kB / 1.117 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.8311, allocations: 25.7 kB / 1.117 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.8311, allocations: 116.1 kB / 1.117 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.8312, allocations: 15.75 kB / 1.117 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-06/0.8312, allocations: 4 kB / 1.117 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8313, allocations: 322.8 kB / 1.117 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.363e-05/0.8314, allocations: 28 kB / 1.117 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.443e-05/0.8315, allocations: 56.67 kB / 1.117 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.793e-05/0.8315, allocations: 35.98 kB / 1.117 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.8315, allocations: 0 / 1.117 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001859/0.8317, allocations: 113.5 kB / 1.118 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.8317, allocations: 5.406 kB / 1.118 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8318, allocations: 1.312 kB / 1.118 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.8318, allocations: 0 / 1.118 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.8321, allocations: 48.02 kB / 1.118 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.8321, allocations: 0 / 1.118 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.8323, allocations: 41.55 kB / 1.118 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.8323, allocations: 4 kB / 1.118 GB, free: 2.16 MB / 0.7136 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 9.163e-05/0.8324, allocations: 108.9 kB / 1.118 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.8324, allocations: 7.906 kB / 1.118 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.8327, allocations: 118.3 kB / 1.118 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.8327, allocations: 7.984 kB / 1.118 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.8327, allocations: 3.938 kB / 1.118 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.8327, allocations: 0 / 1.118 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.8329, allocations: 222.5 kB / 1.118 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8329, allocations: 0 / 1.118 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.8332, allocations: 45.92 kB / 1.118 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.8332, allocations: 1.5 kB / 1.118 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.8332, allocations: 0 / 1.118 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.8332, allocations: 3.938 kB / 1.118 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.8332, allocations: 0 / 1.118 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.8334, allocations: 203.4 kB / 1.118 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.8335, allocations: 88.97 kB / 1.118 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.8335, allocations: 4 kB / 1.118 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003253/0.8339, allocations: 42.39 kB / 1.118 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.8339, allocations: 3.984 kB / 1.119 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.834, allocations: 11.98 kB / 1.119 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.81e-05/0.834, allocations: 105.2 kB / 1.119 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.834, allocations: 0 / 1.119 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002399/0.8343, allocations: 19.91 kB / 1.119 GB, free: 1.102 MB / 0.7136 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.0001419/0.8344, allocations: 95.25 kB / 1.119 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.8346, allocations: 83.92 kB / 1.119 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.8346, allocations: 4 kB / 1.119 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.826e-05/0.8347, allocations: 36.11 kB / 1.119 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.8349, allocations: 17.83 kB / 1.119 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.8353, allocations: 142.6 kB / 1.119 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.8356, allocations: 0.704 MB / 1.12 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.8357, allocations: 16.19 kB / 1.12 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.8358, allocations: 19.36 kB / 1.12 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.8358, allocations: 0 / 1.12 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of Templates: time 0.003176/0.839, allocations: 1.249 MB / 1.121 GB, free: 14.72 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)