Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.647/1.647, allocations: 289.9 MB / 297.4 MB, free: 6.43 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.001297/0.001297, allocations: 176.8 kB / 366.7 MB, free: 1.691 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.88/1.88, allocations: 205.2 MB / 0.626 GB, free: 7.18 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.00097/0.0009701, allocations: 79.88 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.209e-05, allocations: 4 kB / 0.8598 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8411/0.8412, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2085/1.05, allocations: 140.1 MB / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/1.05, allocations: 75.95 kB / 1.11 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01545/1.066, allocations: 5.008 MB / 1.115 GB, free: 5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.462e-06/1.066, allocations: 0 / 1.115 GB, free: 5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.347e-05/1.066, allocations: 4.562 kB / 1.115 GB, free: 4.996 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.0006347/1.066, allocations: 411.7 kB / 1.115 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/1.066, allocations: 8.031 kB / 1.116 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007965/1.067, allocations: 116.8 kB / 1.116 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/1.067, allocations: 190.7 kB / 1.116 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/1.067, allocations: 64.8 kB / 1.116 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/1.068, allocations: 7.25 kB / 1.116 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001956/1.068, allocations: 68 kB / 1.116 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/1.068, allocations: 110.9 kB / 1.116 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/1.068, allocations: 0 / 1.116 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/1.068, allocations: 3.938 kB / 1.116 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/1.068, allocations: 7.938 kB / 1.116 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/1.069, allocations: 474.3 kB / 1.116 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/1.07, allocations: 166.5 kB / 1.117 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.062e-05/1.07, allocations: 40.98 kB / 1.117 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/1.07, allocations: 7.984 kB / 1.117 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/1.07, allocations: 30.56 kB / 1.117 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 2.434e-06/1.07, allocations: 0 / 1.117 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0003242/1.07, allocations: 101.7 kB / 1.117 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/1.07, allocations: 51.41 kB / 1.117 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/1.071, allocations: 124.8 kB / 1.117 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/1.071, allocations: 25.7 kB / 1.117 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/1.071, allocations: 120 kB / 1.117 GB, free: 2.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/1.071, allocations: 19.73 kB / 1.117 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-06/1.071, allocations: 0 / 1.117 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.071, allocations: 326.8 kB / 1.117 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/1.071, allocations: 28 kB / 1.117 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.162e-05/1.071, allocations: 50.58 kB / 1.118 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.483e-05/1.071, allocations: 31.98 kB / 1.118 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.071, allocations: 4 kB / 1.118 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002097/1.071, allocations: 113.4 kB / 1.118 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/1.071, allocations: 8 kB / 1.118 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.071, allocations: 0 / 1.118 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/1.071, allocations: 3.984 kB / 1.118 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/1.072, allocations: 52.02 kB / 1.118 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/1.072, allocations: 0 / 1.118 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/1.072, allocations: 27.97 kB / 1.118 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/1.072, allocations: 4 kB / 1.118 GB, free: 2.051 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 0.0001015/1.072, allocations: 108.9 kB / 1.118 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001859/1.072, allocations: 105.5 kB / 1.118 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/1.072, allocations: 18.28 kB / 1.118 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/1.073, allocations: 118.2 kB / 1.118 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.073, allocations: 0 / 1.118 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.073, allocations: 0 / 1.118 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.073, allocations: 4 kB / 1.118 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/1.073, allocations: 214.5 kB / 1.118 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.073, allocations: 0 / 1.118 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/1.073, allocations: 47.89 kB / 1.118 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/1.073, allocations: 0 / 1.118 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/1.073, allocations: 3.984 kB / 1.118 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.073, allocations: 0 / 1.118 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.073, allocations: 2.969 kB / 1.118 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/1.073, allocations: 211.3 kB / 1.119 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/1.073, allocations: 81.02 kB / 1.119 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/1.074, allocations: 0 / 1.119 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003084/1.074, allocations: 39.95 kB / 1.119 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/1.074, allocations: 15.98 kB / 1.119 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/1.074, allocations: 7.984 kB / 1.119 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.579e-05/1.074, allocations: 97.69 kB / 1.119 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.41e-07/1.074, allocations: 0 / 1.119 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000258/1.074, allocations: 20 kB / 1.119 GB, free: 0.8945 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.0005351/1.075, allocations: 0.7421 MB / 1.12 GB, free: 128 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001899/1.075, allocations: 79.92 kB / 1.12 GB, free: 48 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.075, allocations: 0 / 1.12 GB, free: 48 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.341e-05/1.075, allocations: 43.98 kB / 1.12 GB, free: 4 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/1.075, allocations: 1.406 kB / 1.12 GB, free: 4 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/1.076, allocations: 178.9 kB / 1.12 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/1.076, allocations: 0.7119 MB / 1.121 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001045/1.076, allocations: 12.17 kB / 1.121 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.636e-05/1.076, allocations: 38.7 kB / 1.121 GB, free: 15 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/1.076, allocations: 0 / 1.121 GB, free: 15 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/1.098, allocations: 2.059 MB / 1.123 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/1.099, allocations: 131.4 kB / 1.123 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.592, allocations: 0 / 1.123 GB, free: 12.8 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)