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.808/1.808, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001171/0.001172, allocations: 181.1 kB / 377.1 MB, free: 1.535 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.554/1.554, allocations: 205.4 MB / 0.6366 GB, free: 8.664 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.00103/0.00103, allocations: 87.69 kB / 0.7509 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003431, allocations: 16 kB / 0.8749 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2828, allocations: 116.3 MB / 0.9884 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8308/1.114, allocations: 140.8 MB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/1.114, allocations: 80.38 kB / 1.126 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01399/1.128, allocations: 5.042 MB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.385e-06/1.128, allocations: 0 / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.117e-06/1.128, allocations: 7.938 kB / 1.131 GB, free: 30.45 MB / 0.7292 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.0005717/1.129, allocations: 428.4 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.129, allocations: 12.02 kB / 1.131 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.892e-05/1.129, allocations: 45.88 kB / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006999/1.129, allocations: 117.3 kB / 1.132 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/1.13, allocations: 177.8 kB / 1.132 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.884e-05/1.13, allocations: 59.41 kB / 1.132 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/1.13, allocations: 12 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005008/1.13, allocations: 192 kB / 1.132 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/1.13, allocations: 3.938 kB / 1.132 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/1.13, allocations: 10.3 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/1.13, allocations: 0.75 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005734/1.131, allocations: 189 kB / 1.132 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/1.132, allocations: 0.5053 MB / 1.133 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/1.133, allocations: 264.9 kB / 1.133 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.199e-05/1.133, allocations: 4 kB / 1.133 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/1.133, allocations: 38.11 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 4.258e-06/1.133, allocations: 0 / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.001169/1.135, allocations: 315.6 kB / 1.133 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/1.135, allocations: 51.41 kB / 1.133 GB, free: 28.24 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/1.135, allocations: 131.5 kB / 1.133 GB, free: 28.11 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/1.135, allocations: 25.7 kB / 1.133 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/1.135, allocations: 114.8 kB / 1.134 GB, free: 27.97 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/1.135, allocations: 15.72 kB / 1.134 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/1.135, allocations: 0 / 1.134 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.135, allocations: 326 kB / 1.134 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/1.135, allocations: 87.88 kB / 1.134 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/1.136, allocations: 113.1 kB / 1.134 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/1.136, allocations: 91.55 kB / 1.134 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.136, allocations: 3.938 kB / 1.134 GB, free: 27.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000747/1.137, allocations: 241 kB / 1.134 GB, free: 27.19 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.137, allocations: 4 kB / 1.134 GB, free: 27.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/1.137, allocations: 4 kB / 1.134 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/1.137, allocations: 0.5625 kB / 1.134 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/1.137, allocations: 40.75 kB / 1.134 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/1.137, allocations: 9.797 kB / 1.134 GB, free: 27.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/1.138, allocations: 33.08 kB / 1.134 GB, free: 27.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/1.138, allocations: 5.266 kB / 1.134 GB, free: 27.12 MB / 0.7292 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.0001234/1.138, allocations: 122.5 kB / 1.135 GB, free: 26.99 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/1.138, allocations: 12.47 kB / 1.135 GB, free: 26.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008193/1.139, allocations: 243 kB / 1.135 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/1.139, allocations: 1.266 kB / 1.135 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/1.139, allocations: 4 kB / 1.135 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/1.139, allocations: 3.844 kB / 1.135 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003146/1.139, allocations: 236.3 kB / 1.135 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.139, allocations: 0 / 1.135 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/1.139, allocations: 41.84 kB / 1.135 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.139, allocations: 0.5625 kB / 1.135 GB, free: 26.51 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/1.139, allocations: 9.266 kB / 1.135 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.139, allocations: 4 kB / 1.135 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.139, allocations: 0 / 1.135 GB, free: 26.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007517/1.14, allocations: 323.9 kB / 1.135 GB, free: 26.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/1.14, allocations: 85.77 kB / 1.136 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.945e-05/1.14, allocations: 0.5625 kB / 1.136 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/1.141, allocations: 53.08 kB / 1.136 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/1.141, allocations: 2.438 kB / 1.136 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/1.141, allocations: 11.05 kB / 1.136 GB, free: 26.06 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.827e-05/1.141, allocations: 105.2 kB / 1.136 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/1.141, allocations: 0 / 1.136 GB, free: 25.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002635/1.141, allocations: 28.41 kB / 1.136 GB, free: 25.93 MB / 0.7292 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.001026/1.142, allocations: 0.8545 MB / 1.137 GB, free: 25.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007297/1.143, allocations: 199.2 kB / 1.137 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.143, allocations: 0 / 1.137 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003115/1.143, allocations: 102.6 kB / 1.137 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/1.143, allocations: 5.266 kB / 1.137 GB, free: 24.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/1.144, allocations: 0.8091 MB / 1.138 GB, free: 24.04 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/1.145, allocations: 0.7048 MB / 1.138 GB, free: 23.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001062/1.145, allocations: 13.36 kB / 1.138 GB, free: 23.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.5e-05/1.145, allocations: 32.55 kB / 1.138 GB, free: 23.28 MB / 0.7292 GB Notification: Performance of SimCode: time 3.6e-07/1.145, allocations: 4 kB / 1.138 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0145/1.159, allocations: 2.381 MB / 1.141 GB, free: 22 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/1.16, allocations: 180.7 kB / 1.141 GB, free: 21.76 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.953, allocations: 3.938 kB / 1.141 GB, free: 21.75 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)