Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.95/2.95, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001497/0.001497, allocations: 180.9 kB / 360.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001039/0.001038, allocations: 95.75 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.48e-05/2.49e-05, allocations: 4 kB / 0.8508 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.876/0.8761, allocations: 115.3 MB / 0.9634 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2767/1.153, allocations: 138.9 MB / 1.099 GB, free: 1.598 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004019/1.153, allocations: 71.97 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02765/1.181, allocations: 5.015 MB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/1.181, allocations: 0 / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.078e-05/1.181, allocations: 5.875 kB / 1.104 GB, free: 12.57 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.0006853/1.182, allocations: 418.7 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/1.182, allocations: 8.031 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/1.183, allocations: 113.4 kB / 1.105 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/1.183, allocations: 184.7 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/1.183, allocations: 67.34 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/1.183, allocations: 4 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002773/1.184, allocations: 79.98 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/1.184, allocations: 98.42 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.184, allocations: 0 / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/1.184, allocations: 3.984 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/1.184, allocations: 7.953 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/1.186, allocations: 472.9 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/1.187, allocations: 162.5 kB / 1.106 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/1.187, allocations: 40.97 kB / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/1.187, allocations: 0 / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/1.187, allocations: 42.5 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/1.187, allocations: 4 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0003923/1.187, allocations: 97.73 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/1.188, allocations: 55.41 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/1.188, allocations: 115.4 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/1.188, allocations: 25.7 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.143e-05/1.188, allocations: 116.1 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/1.188, allocations: 15.73 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/1.188, allocations: 4 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.188, allocations: 322.8 kB / 1.106 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/1.188, allocations: 35.98 kB / 1.106 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/1.188, allocations: 46.58 kB / 1.106 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/1.188, allocations: 35.92 kB / 1.107 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/1.188, allocations: 0 / 1.107 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003369/1.189, allocations: 119.6 kB / 1.107 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/1.189, allocations: 9.094 kB / 1.107 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.189, allocations: 0 / 1.107 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/1.189, allocations: 0 / 1.107 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/1.189, allocations: 47.89 kB / 1.107 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.189, allocations: 0 / 1.107 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/1.19, allocations: 35.95 kB / 1.107 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.4e-05/1.19, allocations: 4 kB / 1.107 GB, free: 9.633 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.0001292/1.19, allocations: 112.7 kB / 1.107 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003039/1.19, allocations: 101.6 kB / 1.107 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/1.19, allocations: 15.84 kB / 1.107 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003872/1.191, allocations: 114.3 kB / 1.107 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/1.191, allocations: 13.48 kB / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.191, allocations: 3.938 kB / 1.107 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/1.191, allocations: 0 / 1.107 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/1.191, allocations: 222.4 kB / 1.107 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.191, allocations: 0 / 1.107 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/1.192, allocations: 43.95 kB / 1.107 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/1.192, allocations: 0 / 1.107 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/1.192, allocations: 0 / 1.107 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.192, allocations: 0 / 1.107 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.192, allocations: 3.984 kB / 1.107 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/1.192, allocations: 216.7 kB / 1.108 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/1.192, allocations: 81.02 kB / 1.108 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/1.192, allocations: 4 kB / 1.108 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005645/1.193, allocations: 43.95 kB / 1.108 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/1.193, allocations: 3.984 kB / 1.108 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/1.193, allocations: 4 kB / 1.108 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.713e-05/1.193, allocations: 103.3 kB / 1.108 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.71e-07/1.193, allocations: 4 kB / 1.108 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003782/1.193, allocations: 16 kB / 1.108 GB, free: 8.461 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.0007484/1.194, allocations: 0.7357 MB / 1.109 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00031/1.194, allocations: 78.11 kB / 1.109 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.194, allocations: 0 / 1.109 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/1.195, allocations: 48.06 kB / 1.109 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/1.195, allocations: 6.75 kB / 1.109 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007172/1.196, allocations: 170.7 kB / 1.109 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/1.196, allocations: 0.7079 MB / 1.109 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001863/1.196, allocations: 16.17 kB / 1.109 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/1.196, allocations: 35.36 kB / 1.11 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of SimCode: time 1.433e-06/1.196, allocations: 0 / 1.11 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04018/1.237, allocations: 2.067 MB / 1.112 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004658/1.237, allocations: 136.5 kB / 1.112 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/3.723, allocations: 0 / 1.112 GB, free: 4.379 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)