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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.7311/0.7311, allocations: 140.1 MB / 156 MB, free: 5.168 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.001453/0.001453, allocations: 186.5 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.4 MB / 426.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007651/0.0007649, allocations: 82.3 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001671/0.001671, allocations: 267.7 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005032, allocations: 20 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3832, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1323/0.5156, allocations: 109 MB / 0.8459 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.5159, allocations: 75.95 kB / 0.846 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01492/0.5308, allocations: 5.075 MB / 0.851 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5308, allocations: 0 / 0.851 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.5308, allocations: 4 kB / 0.851 GB, free: 12.03 MB / 0.5261 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.0005203/0.5314, allocations: 423 kB / 0.8514 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.5314, allocations: 12.03 kB / 0.8514 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006469/0.5321, allocations: 124.5 kB / 0.8515 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.5322, allocations: 180.8 kB / 0.8517 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.34e-05/0.5323, allocations: 67.95 kB / 0.8517 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.5324, allocations: 8.375 kB / 0.8517 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004949/0.5329, allocations: 186.1 kB / 0.8519 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.5329, allocations: 7.938 kB / 0.8519 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.5329, allocations: 7.984 kB / 0.8519 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.5329, allocations: 4 kB / 0.8519 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005783/0.5335, allocations: 195.8 kB / 0.8521 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.5346, allocations: 0.5015 MB / 0.8526 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008879/0.5355, allocations: 266.3 kB / 0.8529 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.5358, allocations: 96.91 kB / 0.853 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.5358, allocations: 4 kB / 0.853 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.5359, allocations: 38.56 kB / 0.853 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.5359, allocations: 3.938 kB / 0.853 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0009368/0.5368, allocations: 313.5 kB / 0.8533 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.5369, allocations: 59.34 kB / 0.8534 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.537, allocations: 140.2 kB / 0.8535 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.537, allocations: 33.7 kB / 0.8535 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.5371, allocations: 108.2 kB / 0.8536 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.5371, allocations: 19.7 kB / 0.8536 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.5372, allocations: 4 kB / 0.8536 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5373, allocations: 318.8 kB / 0.8539 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.5376, allocations: 91.92 kB / 0.854 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.5379, allocations: 110.5 kB / 0.8541 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005428/0.5385, allocations: 202.4 kB / 0.8543 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5385, allocations: 0 / 0.8543 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006293/0.5391, allocations: 237.7 kB / 0.8546 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.5391, allocations: 5.094 kB / 0.8546 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.5392, allocations: 4.062 kB / 0.8546 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.5392, allocations: 0 / 0.8546 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.5394, allocations: 55.83 kB / 0.8546 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.5394, allocations: 0 / 0.8546 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.5396, allocations: 35.91 kB / 0.8547 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.5397, allocations: 11.92 kB / 0.8547 GB, free: 7.973 MB / 0.5261 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 () * Number of clocked 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 0.0001122/0.5398, allocations: 113.8 kB / 0.8548 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.5398, allocations: 7.906 kB / 0.8548 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006709/0.5405, allocations: 238.2 kB / 0.855 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5405, allocations: 7.938 kB / 0.855 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5405, allocations: 0 / 0.855 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5405, allocations: 0 / 0.855 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002791/0.5408, allocations: 238.1 kB / 0.8552 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.5408, allocations: 4 kB / 0.8553 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.541, allocations: 43.89 kB / 0.8553 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5411, allocations: 0 / 0.8553 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.5411, allocations: 0 / 0.8553 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.5411, allocations: 3.938 kB / 0.8553 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5411, allocations: 7.984 kB / 0.8553 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006466/0.5417, allocations: 315.3 kB / 0.8556 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.707e-05/0.5418, allocations: 89 kB / 0.8557 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.5419, allocations: 0 / 0.8557 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.5421, allocations: 47.89 kB / 0.8557 GB, free: 6.781 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.5422, allocations: 4 kB / 0.8557 GB, free: 6.777 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.5422, allocations: 11.98 kB / 0.8557 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.741e-05/0.5423, allocations: 105.7 kB / 0.8559 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5423, allocations: 4 kB / 0.8559 GB, free: 6.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002583/0.5426, allocations: 27.88 kB / 0.8559 GB, free: 6.633 MB / 0.5261 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 () * Number of clocked 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.0001409/0.5427, allocations: 99.19 kB / 0.856 GB, free: 6.523 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006065/0.5434, allocations: 204 kB / 0.8562 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5434, allocations: 4 kB / 0.8562 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.5437, allocations: 99.98 kB / 0.8563 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.544, allocations: 13.95 kB / 0.8563 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007322/0.5447, allocations: 301.3 kB / 0.8566 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.5451, allocations: 0.6965 MB / 0.8573 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000116/0.5452, allocations: 19.98 kB / 0.8573 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.087e-05/0.5453, allocations: 15.42 kB / 0.8573 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of SimCode: time 2.2e-07/0.5453, allocations: 4 kB / 0.8573 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of Templates: time 0.003902/0.5492, allocations: 1.328 MB / 0.8586 GB, free: 3.809 MB / 0.5261 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)