Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.408/1.408, allocations: 249.5 MB / 257 MB, free: 6.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009945/0.0009948, allocations: 175.7 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.814/1.814, allocations: 205.3 MB / 0.5671 GB, free: 15.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 102.1 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.504e-05, allocations: 4 kB / 0.7815 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.23, allocations: 106.4 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7307/0.9608, allocations: 133.8 MB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.961, allocations: 80.7 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01408/0.9751, allocations: 5.012 MB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of FrontEnd: time 7.91e-07/0.9751, allocations: 0 / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.9752, allocations: 0 / 1.021 GB, free: 15.52 MB / 0.6511 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.0004411/0.9756, allocations: 409.9 kB / 1.021 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.9757, allocations: 12.03 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006776/0.9763, allocations: 111.7 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.9765, allocations: 182.9 kB / 1.022 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.9766, allocations: 67.31 kB / 1.022 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.9766, allocations: 11.98 kB / 1.022 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001446/0.9768, allocations: 74.36 kB / 1.022 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.977, allocations: 106 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.977, allocations: 0.75 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.977, allocations: 4 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.977, allocations: 3.953 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009588/0.978, allocations: 484.2 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005437/0.9785, allocations: 164.7 kB / 1.022 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.793e-05/0.9786, allocations: 32.55 kB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.9786, allocations: 11.73 kB / 1.023 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.9787, allocations: 38.5 kB / 1.023 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.9787, allocations: 3.938 kB / 1.023 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.00022/0.9789, allocations: 105 kB / 1.023 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.9789, allocations: 51.41 kB / 1.023 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.947e-05/0.979, allocations: 122.9 kB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.979, allocations: 25.7 kB / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.9791, allocations: 108 kB / 1.023 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.9791, allocations: 23.5 kB / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.9791, allocations: 0 / 1.023 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.9793, allocations: 322.5 kB / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.18e-05/0.9793, allocations: 34.75 kB / 1.023 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.511e-05/0.9794, allocations: 54.06 kB / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.065e-05/0.9795, allocations: 27.61 kB / 1.023 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9795, allocations: 4 kB / 1.023 GB, free: 13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001637/0.9796, allocations: 112.5 kB / 1.023 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.9796, allocations: 4 kB / 1.023 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.9797, allocations: 0 / 1.023 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.9797, allocations: 4 kB / 1.024 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.9799, allocations: 43.83 kB / 1.024 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.98, allocations: 8.062 kB / 1.024 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.9802, allocations: 31.88 kB / 1.024 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.9802, allocations: 3.984 kB / 1.024 GB, free: 12.82 MB / 0.6511 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.763e-05/0.9803, allocations: 112.9 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001635/0.9804, allocations: 100.7 kB / 1.024 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.9805, allocations: 11.91 kB / 1.024 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.9807, allocations: 121.2 kB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.9807, allocations: 0 / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.9807, allocations: 4.062 kB / 1.024 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.9807, allocations: 0 / 1.024 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.9809, allocations: 221.6 kB / 1.024 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.9809, allocations: 0 / 1.024 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.9811, allocations: 43.95 kB / 1.024 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.9812, allocations: 0 / 1.024 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.9812, allocations: 0 / 1.024 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9812, allocations: 7.938 kB / 1.024 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9812, allocations: 0 / 1.024 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.9814, allocations: 198.3 kB / 1.024 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.9814, allocations: 89.02 kB / 1.024 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.9815, allocations: 3.984 kB / 1.024 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.9818, allocations: 43.52 kB / 1.024 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.9818, allocations: 7.938 kB / 1.025 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.9818, allocations: 7.984 kB / 1.025 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.252e-05/0.9819, allocations: 103.1 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9819, allocations: 3.938 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002432/0.9821, allocations: 23.91 kB / 1.025 GB, free: 11.76 MB / 0.6511 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.0004496/0.9826, allocations: 0.7227 MB / 1.025 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001549/0.9828, allocations: 86.61 kB / 1.025 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9828, allocations: 4 kB / 1.025 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.054e-05/0.9828, allocations: 39.17 kB / 1.025 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.983, allocations: 7.578 kB / 1.025 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.9835, allocations: 165.5 kB / 1.026 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.9837, allocations: 0.7119 MB / 1.026 GB, free: 10.03 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.612e-05/0.9838, allocations: 19.92 kB / 1.026 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.9839, allocations: 38.72 kB / 1.026 GB, free: 9.984 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.9839, allocations: 3.938 kB / 1.026 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/1.002, allocations: 2.063 MB / 1.028 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/1.002, allocations: 143.7 kB / 1.029 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.398/2.401, allocations: 0 / 1.029 GB, free: 7.75 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)