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.751/1.751, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001246/0.001246, allocations: 180.8 kB / 361.4 MB, free: 6.84 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.775/1.775, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008245/0.0008244, allocations: 98.28 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.278e-05, allocations: 8 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8747/0.8747, allocations: 115.3 MB / 0.9644 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2145/1.089, allocations: 139.1 MB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/1.089, allocations: 72.55 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01518/1.105, allocations: 5.01 MB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.262e-06/1.105, allocations: 0 / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.785e-06/1.105, allocations: 4 kB / 1.105 GB, free: 11.61 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.0005543/1.105, allocations: 420 kB / 1.106 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/1.105, allocations: 8.031 kB / 1.106 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007174/1.106, allocations: 112.8 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/1.106, allocations: 194.8 kB / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/1.106, allocations: 59.41 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/1.106, allocations: 4 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001784/1.107, allocations: 79.92 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/1.107, allocations: 103.4 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/1.107, allocations: 0 / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/1.107, allocations: 0 / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/1.107, allocations: 4 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/1.108, allocations: 479.6 kB / 1.107 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000586/1.109, allocations: 158.5 kB / 1.107 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.459e-05/1.109, allocations: 40.98 kB / 1.107 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/1.109, allocations: 7.969 kB / 1.107 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/1.109, allocations: 38.56 kB / 1.107 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 2.856e-06/1.109, allocations: 3.984 kB / 1.107 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002404/1.109, allocations: 105.7 kB / 1.107 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/1.109, allocations: 55.41 kB / 1.107 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/1.109, allocations: 115.4 kB / 1.107 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/1.109, allocations: 25.7 kB / 1.107 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/1.109, allocations: 112.1 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/1.109, allocations: 15.75 kB / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/1.109, allocations: 8 kB / 1.107 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.109, allocations: 322.8 kB / 1.108 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.577e-05/1.109, allocations: 28 kB / 1.108 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.973e-05/1.11, allocations: 55.12 kB / 1.108 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.171e-05/1.11, allocations: 35.42 kB / 1.108 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.11, allocations: 0 / 1.108 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001866/1.11, allocations: 125.4 kB / 1.108 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/1.11, allocations: 4.781 kB / 1.108 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/1.11, allocations: 0 / 1.108 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/1.11, allocations: 0.6562 kB / 1.108 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/1.11, allocations: 47.89 kB / 1.108 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/1.11, allocations: 0 / 1.108 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/1.11, allocations: 36.02 kB / 1.108 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/1.11, allocations: 4 kB / 1.108 GB, free: 8.652 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 8.345e-05/1.11, allocations: 104.9 kB / 1.108 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002039/1.111, allocations: 101.6 kB / 1.108 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/1.111, allocations: 15.47 kB / 1.108 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/1.111, allocations: 122.2 kB / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/1.111, allocations: 7.938 kB / 1.108 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/1.111, allocations: 0 / 1.108 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/1.111, allocations: 0 / 1.108 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/1.111, allocations: 214.7 kB / 1.108 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.111, allocations: 0 / 1.108 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/1.111, allocations: 43.95 kB / 1.109 GB, free: 8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.111, allocations: 0 / 1.109 GB, free: 8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/1.112, allocations: 7 kB / 1.109 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/1.112, allocations: 2.891 kB / 1.109 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.112, allocations: 0 / 1.109 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/1.112, allocations: 207.2 kB / 1.109 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/1.112, allocations: 81.02 kB / 1.109 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/1.112, allocations: 11.98 kB / 1.109 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/1.112, allocations: 43.95 kB / 1.109 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/1.112, allocations: 0 / 1.109 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/1.112, allocations: 7.984 kB / 1.109 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.871e-05/1.112, allocations: 109 kB / 1.109 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.112, allocations: 0 / 1.109 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002423/1.113, allocations: 16 kB / 1.109 GB, free: 7.496 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.000536/1.113, allocations: 0.7317 MB / 1.11 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001689/1.113, allocations: 83.92 kB / 1.11 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.113, allocations: 0 / 1.11 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.949e-05/1.113, allocations: 43.98 kB / 1.11 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/1.114, allocations: 4.656 kB / 1.11 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/1.114, allocations: 174.9 kB / 1.11 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/1.114, allocations: 0.7079 MB / 1.111 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001092/1.114, allocations: 24 kB / 1.111 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.869e-05/1.115, allocations: 35.41 kB / 1.111 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/1.115, allocations: 4 kB / 1.111 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/1.134, allocations: 2.066 MB / 1.113 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004373/1.135, allocations: 142.7 kB / 1.113 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/2.648, allocations: 0 / 1.113 GB, free: 3.406 MB / 0.7136 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)