Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.768/1.768, allocations: 288.2 MB / 303.2 MB, free: 8.234 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.0009878/0.0009878, allocations: 185 kB / 371.8 MB, free: 10.28 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.841/1.841, allocations: 205.4 MB / 0.6305 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009647/0.0009646, allocations: 89.17 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004653/0.0004655, allocations: 15.61 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3058, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.004/1.31, allocations: 139.8 MB / 1.116 GB, free: 16.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003622/1.311, allocations: 76.88 kB / 1.116 GB, free: 16.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01669/1.327, allocations: 5.048 MB / 1.121 GB, free: 31.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.314e-06/1.328, allocations: 0 / 1.121 GB, free: 31.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.25e-05/1.328, allocations: 0 / 1.121 GB, free: 31.59 MB / 0.698 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.0007176/1.328, allocations: 434 kB / 1.121 GB, free: 31.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.969e-05/1.328, allocations: 15.83 kB / 1.121 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.588e-05/1.328, allocations: 41.91 kB / 1.122 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007108/1.329, allocations: 111.9 kB / 1.122 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/1.329, allocations: 177.8 kB / 1.122 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/1.33, allocations: 69.14 kB / 1.122 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/1.33, allocations: 11.62 kB / 1.122 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005518/1.33, allocations: 186 kB / 1.122 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/1.33, allocations: 3.984 kB / 1.122 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/1.33, allocations: 2.688 kB / 1.122 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.33, allocations: 7.688 kB / 1.122 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00061/1.331, allocations: 196.1 kB / 1.122 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/1.332, allocations: 0.4937 MB / 1.123 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009854/1.333, allocations: 272.4 kB / 1.123 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/1.333, allocations: 0 / 1.123 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/1.333, allocations: 41.91 kB / 1.123 GB, free: 30.44 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 2.765e-06/1.333, allocations: 0 / 1.123 GB, free: 30.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.001059/1.334, allocations: 315.9 kB / 1.123 GB, free: 30.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/1.334, allocations: 51.41 kB / 1.123 GB, free: 30.33 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/1.334, allocations: 127.8 kB / 1.124 GB, free: 30.24 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/1.334, allocations: 25.7 kB / 1.124 GB, free: 30.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.867e-05/1.335, allocations: 113 kB / 1.124 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/1.335, allocations: 18.58 kB / 1.124 GB, free: 30.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/1.335, allocations: 3.812 kB / 1.124 GB, free: 30.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.335, allocations: 321.9 kB / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/1.335, allocations: 97.14 kB / 1.124 GB, free: 29.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/1.335, allocations: 108.9 kB / 1.124 GB, free: 29.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/1.336, allocations: 94.06 kB / 1.124 GB, free: 29.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.336, allocations: 0 / 1.124 GB, free: 29.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006445/1.336, allocations: 236.7 kB / 1.124 GB, free: 29.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/1.336, allocations: 3.906 kB / 1.124 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/1.336, allocations: 3.281 kB / 1.124 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/1.336, allocations: 3.844 kB / 1.124 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/1.337, allocations: 43.66 kB / 1.125 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/1.337, allocations: 0.5469 kB / 1.125 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/1.337, allocations: 40.03 kB / 1.125 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/1.337, allocations: 4.156 kB / 1.125 GB, free: 29.69 MB / 0.698 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.0001273/1.337, allocations: 123.7 kB / 1.125 GB, free: 29.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/1.337, allocations: 11.66 kB / 1.125 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00073/1.338, allocations: 246.4 kB / 1.125 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.338, allocations: 3.844 kB / 1.125 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.338, allocations: 0 / 1.125 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/1.338, allocations: 0 / 1.125 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/1.338, allocations: 239 kB / 1.125 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.338, allocations: 0 / 1.125 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/1.338, allocations: 37.19 kB / 1.125 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/1.338, allocations: 6.609 kB / 1.125 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/1.338, allocations: 6.406 kB / 1.125 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.338, allocations: 0 / 1.125 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/1.338, allocations: 0 / 1.125 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006584/1.339, allocations: 321.6 kB / 1.126 GB, free: 29.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.29e-05/1.339, allocations: 84.95 kB / 1.126 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/1.339, allocations: 6.75 kB / 1.126 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/1.339, allocations: 45.5 kB / 1.126 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/1.34, allocations: 2.719 kB / 1.126 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/1.34, allocations: 8.766 kB / 1.126 GB, free: 29.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.179e-05/1.34, allocations: 113.4 kB / 1.126 GB, free: 28.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/1.34, allocations: 0 / 1.126 GB, free: 28.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002697/1.34, allocations: 27.19 kB / 1.126 GB, free: 28.98 MB / 0.698 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.001002/1.341, allocations: 0.8579 MB / 1.127 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006331/1.342, allocations: 199.1 kB / 1.127 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.342, allocations: 4.125 kB / 1.127 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002815/1.342, allocations: 97.69 kB / 1.127 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/1.342, allocations: 11.22 kB / 1.127 GB, free: 28.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/1.343, allocations: 0.8066 MB / 1.128 GB, free: 27.58 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/1.344, allocations: 0.7046 MB / 1.128 GB, free: 26.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001029/1.344, allocations: 22.38 kB / 1.128 GB, free: 26.87 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/1.344, allocations: 31.23 kB / 1.128 GB, free: 26.86 MB / 0.698 GB Notification: Performance of SimCode: time 4.01e-07/1.344, allocations: 0 / 1.128 GB, free: 26.86 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/1.359, allocations: 2.391 MB / 1.131 GB, free: 26.62 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/1.359, allocations: 181.9 kB / 1.131 GB, free: 26.39 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/3.17, allocations: 6.812 kB / 1.131 GB, free: 26.38 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)