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.7501/0.7501, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 186.2 kB / 187.3 MB, free: 11.89 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.341/1.341, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.000882/0.000882, allocations: 96.86 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001766/0.001767, allocations: 282.1 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.24e-05/3.243e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3944, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.5153, allocations: 110.4 MB / 0.8721 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.5156, allocations: 80.36 kB / 0.8721 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01563/0.5313, allocations: 5.111 MB / 0.8771 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.187e-06/0.5313, allocations: 4 kB / 0.8771 GB, free: 8.977 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.5313, allocations: 0 / 0.8771 GB, free: 8.977 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.0004872/0.5318, allocations: 411.4 kB / 0.8775 GB, free: 8.531 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.5319, allocations: 8.031 kB / 0.8775 GB, free: 8.523 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006915/0.5326, allocations: 115.7 kB / 0.8776 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.5327, allocations: 190.7 kB / 0.8778 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.5328, allocations: 63.41 kB / 0.8779 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.5329, allocations: 8 kB / 0.8779 GB, free: 8.102 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.5331, allocations: 113.6 kB / 0.878 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.5332, allocations: 0 / 0.878 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.5332, allocations: 12 kB / 0.878 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5332, allocations: 3.938 kB / 0.878 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.5334, allocations: 75.98 kB / 0.8781 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.5345, allocations: 0.5095 MB / 0.8786 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006322/0.5351, allocations: 170.4 kB / 0.8787 GB, free: 7.16 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.519e-05/0.5352, allocations: 40.98 kB / 0.8788 GB, free: 7.117 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.5352, allocations: 0 / 0.8788 GB, free: 7.117 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.5353, allocations: 34.56 kB / 0.8788 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 1.011e-06/0.5353, allocations: 0 / 0.8788 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0002964/0.5356, allocations: 105.7 kB / 0.8789 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.5356, allocations: 55.34 kB / 0.879 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.5358, allocations: 126.7 kB / 0.8791 GB, free: 6.77 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.5358, allocations: 29.7 kB / 0.8791 GB, free: 6.734 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.5359, allocations: 108.1 kB / 0.8792 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.5359, allocations: 23.73 kB / 0.8792 GB, free: 6.598 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.896e-06/0.5359, allocations: 0 / 0.8792 GB, free: 6.598 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5361, allocations: 326.8 kB / 0.8796 GB, free: 6.27 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.507e-05/0.5361, allocations: 28 kB / 0.8796 GB, free: 6.242 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-05/0.5362, allocations: 50.58 kB / 0.8796 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.202e-05/0.5363, allocations: 39.98 kB / 0.8797 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5363, allocations: 0 / 0.8797 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002107/0.5365, allocations: 121.6 kB / 0.8798 GB, free: 6.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.5366, allocations: 7.984 kB / 0.8798 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.5366, allocations: 0 / 0.8798 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5366, allocations: 4 kB / 0.8798 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002809/0.5369, allocations: 44.02 kB / 0.8798 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.5369, allocations: 7.938 kB / 0.8799 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.5371, allocations: 31.88 kB / 0.8799 GB, free: 5.926 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.5371, allocations: 11.98 kB / 0.8799 GB, free: 5.914 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 8.813e-05/0.5372, allocations: 110 kB / 0.88 GB, free: 5.801 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.034e-05/0.5373, allocations: 7.906 kB / 0.88 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.5375, allocations: 122.2 kB / 0.8801 GB, free: 5.672 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5376, allocations: 4 kB / 0.8801 GB, free: 5.668 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.5376, allocations: 0 / 0.8801 GB, free: 5.668 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5376, allocations: 3.938 kB / 0.8801 GB, free: 5.664 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.5378, allocations: 242.2 kB / 0.8804 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5379, allocations: 4 kB / 0.8804 GB, free: 5.371 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.5381, allocations: 43.95 kB / 0.8804 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5381, allocations: 0 / 0.8804 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.5381, allocations: 0 / 0.8804 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5381, allocations: 0 / 0.8804 GB, free: 5.328 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.5381, allocations: 4 kB / 0.8804 GB, free: 5.324 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.5384, allocations: 207.4 kB / 0.8806 GB, free: 5.105 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.5384, allocations: 85.02 kB / 0.8807 GB, free: 5.004 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.5385, allocations: 0 / 0.8807 GB, free: 5.004 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.5388, allocations: 48.14 kB / 0.8807 GB, free: 4.957 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.5388, allocations: 7.984 kB / 0.8807 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.5389, allocations: 8 kB / 0.8808 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.005e-05/0.5389, allocations: 108.6 kB / 0.8809 GB, free: 4.836 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5389, allocations: 0 / 0.8809 GB, free: 4.836 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002377/0.5392, allocations: 23.91 kB / 0.8809 GB, free: 4.812 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.000145/0.5393, allocations: 99.25 kB / 0.881 GB, free: 4.703 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002113/0.5396, allocations: 84.05 kB / 0.8811 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5396, allocations: 0 / 0.8811 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.131e-05/0.5397, allocations: 47.92 kB / 0.8811 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.5399, allocations: 9.047 kB / 0.8811 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.5402, allocations: 145.4 kB / 0.8812 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.5405, allocations: 0.702 MB / 0.8819 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.931e-05/0.5406, allocations: 20.23 kB / 0.8819 GB, free: 3.648 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.5407, allocations: 15.42 kB / 0.882 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of SimCode: time 3.1e-07/0.5407, allocations: 4 kB / 0.882 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of Templates: time 0.003591/0.5443, allocations: 1.315 MB / 0.8833 GB, free: 2.332 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)