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.669/1.669, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.001146/0.001146, allocations: 171.8 kB / 371.6 MB, free: 3.359 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.893/1.893, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009406/0.000941, allocations: 94.75 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.41e-05/3.411e-05, allocations: 8 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2556, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7648/1.02, allocations: 140.7 MB / 1.117 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/1.021, allocations: 73.77 kB / 1.117 GB, free: 43.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01316/1.034, allocations: 5.035 MB / 1.122 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.563e-06/1.034, allocations: 4 kB / 1.122 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.008e-05/1.034, allocations: 4 kB / 1.122 GB, free: 40.45 MB / 0.7448 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.0004347/1.034, allocations: 408.2 kB / 1.123 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/1.034, allocations: 8.031 kB / 1.123 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.535e-05/1.034, allocations: 43.11 kB / 1.123 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006659/1.035, allocations: 122.8 kB / 1.123 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.996e-05/1.035, allocations: 186.1 kB / 1.123 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.591e-05/1.035, allocations: 66.81 kB / 1.123 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/1.035, allocations: 4 kB / 1.123 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/1.036, allocations: 121.7 kB / 1.123 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/1.036, allocations: 0 / 1.123 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/1.036, allocations: 0 / 1.123 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/1.036, allocations: 4 kB / 1.123 GB, free: 39.52 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/1.036, allocations: 85.28 kB / 1.123 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/1.037, allocations: 499.3 kB / 1.124 GB, free: 39.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005527/1.037, allocations: 164.5 kB / 1.124 GB, free: 38.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.855e-05/1.037, allocations: 44.89 kB / 1.124 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/1.037, allocations: 7.938 kB / 1.124 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/1.037, allocations: 30.56 kB / 1.124 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/1.037, allocations: 0 / 1.124 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.000243/1.038, allocations: 107.5 kB / 1.124 GB, free: 38.81 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/1.038, allocations: 51.41 kB / 1.124 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.422e-05/1.038, allocations: 122.8 kB / 1.124 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/1.038, allocations: 33.64 kB / 1.124 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.215e-05/1.038, allocations: 110.9 kB / 1.124 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/1.038, allocations: 27.58 kB / 1.124 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/1.038, allocations: 0 / 1.124 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.681e-05/1.038, allocations: 323.4 kB / 1.125 GB, free: 38.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.884e-05/1.038, allocations: 35.25 kB / 1.125 GB, free: 38.14 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.42e-05/1.038, allocations: 57.17 kB / 1.125 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.161e-05/1.038, allocations: 38.86 kB / 1.125 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/1.038, allocations: 0 / 1.125 GB, free: 38.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001749/1.038, allocations: 123.5 kB / 1.125 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/1.038, allocations: 5.25 kB / 1.125 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/1.038, allocations: 0 / 1.125 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/1.038, allocations: 4 kB / 1.125 GB, free: 37.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002606/1.039, allocations: 45.52 kB / 1.125 GB, free: 37.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.039, allocations: 0 / 1.125 GB, free: 37.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/1.039, allocations: 34.78 kB / 1.125 GB, free: 37.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/1.039, allocations: 3.984 kB / 1.125 GB, free: 37.92 MB / 0.7448 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 5.619e-05/1.039, allocations: 112.9 kB / 1.125 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/1.039, allocations: 11.91 kB / 1.125 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/1.039, allocations: 119.6 kB / 1.125 GB, free: 37.72 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/1.039, allocations: 3.938 kB / 1.125 GB, free: 37.71 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.039, allocations: 0 / 1.125 GB, free: 37.71 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/1.039, allocations: 9.203 kB / 1.125 GB, free: 37.71 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/1.039, allocations: 241.6 kB / 1.126 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.039, allocations: 0 / 1.126 GB, free: 37.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/1.04, allocations: 49.53 kB / 1.126 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/1.04, allocations: 0.75 kB / 1.126 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/1.04, allocations: 0 / 1.126 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/1.04, allocations: 0 / 1.126 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.04, allocations: 0 / 1.126 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/1.04, allocations: 212.5 kB / 1.126 GB, free: 37.27 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/1.04, allocations: 89.02 kB / 1.126 GB, free: 37.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/1.04, allocations: 0.5 kB / 1.126 GB, free: 37.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/1.04, allocations: 45.33 kB / 1.126 GB, free: 37.13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/1.04, allocations: 7.422 kB / 1.126 GB, free: 37.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/1.04, allocations: 12.64 kB / 1.126 GB, free: 37.12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.071e-05/1.04, allocations: 101.1 kB / 1.126 GB, free: 37.03 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.04, allocations: 0 / 1.126 GB, free: 37.03 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002224/1.041, allocations: 23.69 kB / 1.126 GB, free: 37.01 MB / 0.7448 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.0003367/1.041, allocations: 0.7395 MB / 1.127 GB, free: 36.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001647/1.041, allocations: 82.36 kB / 1.127 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.041, allocations: 3.938 kB / 1.127 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.688e-05/1.041, allocations: 42.83 kB / 1.127 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/1.041, allocations: 8.938 kB / 1.127 GB, free: 36.2 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/1.042, allocations: 184.5 kB / 1.127 GB, free: 36.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/1.042, allocations: 0.7061 MB / 1.128 GB, free: 35.3 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.258e-05/1.042, allocations: 11.66 kB / 1.128 GB, free: 35.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.657e-05/1.042, allocations: 37.34 kB / 1.128 GB, free: 35.27 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/1.042, allocations: 0 / 1.128 GB, free: 35.27 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2671/1.309, allocations: 2.401 MB / 1.13 GB, free: 33.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/1.309, allocations: 151.4 kB / 1.13 GB, free: 33.75 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.575/2.884, allocations: 1.375 kB / 1.13 GB, free: 33.75 MB / 0.7448 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)