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 3.049/3.049, allocations: 287.3 MB / 302.3 MB, free: 8.195 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.001485/0.001485, allocations: 172.2 kB / 370.8 MB, free: 10.88 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.099/2.099, allocations: 205.4 MB / 0.6295 GB, free: 10.63 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 107.9 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004951/0.0004952, allocations: 11.88 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2282, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9615/1.19, allocations: 139.7 MB / 1.115 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/1.19, allocations: 74.27 kB / 1.115 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02353/1.214, allocations: 5.036 MB / 1.12 GB, free: 30.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.208e-06/1.214, allocations: 0 / 1.12 GB, free: 30.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.06e-05/1.214, allocations: 11.75 kB / 1.12 GB, free: 30.78 MB / 0.698 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.00072/1.214, allocations: 433.9 kB / 1.12 GB, free: 30.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.214, allocations: 15.52 kB / 1.12 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.722e-05/1.215, allocations: 40.05 kB / 1.12 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/1.216, allocations: 114.6 kB / 1.12 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/1.216, allocations: 185.5 kB / 1.12 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/1.216, allocations: 67.5 kB / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/1.216, allocations: 6.875 kB / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008675/1.217, allocations: 192.1 kB / 1.121 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/1.217, allocations: 0 / 1.121 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/1.217, allocations: 7.219 kB / 1.121 GB, free: 30.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/1.217, allocations: 7.938 kB / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/1.218, allocations: 191.4 kB / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/1.22, allocations: 0.4905 MB / 1.121 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/1.222, allocations: 274 kB / 1.122 GB, free: 29.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/1.222, allocations: 3.594 kB / 1.122 GB, free: 29.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/1.222, allocations: 37.08 kB / 1.122 GB, free: 29.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 3.006e-06/1.222, allocations: 0 / 1.122 GB, free: 29.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.001843/1.224, allocations: 318.8 kB / 1.122 GB, free: 29.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/1.224, allocations: 51.41 kB / 1.122 GB, free: 29.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/1.224, allocations: 129.2 kB / 1.122 GB, free: 29.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/1.224, allocations: 29.52 kB / 1.122 GB, free: 29.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/1.224, allocations: 106.9 kB / 1.122 GB, free: 29.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/1.224, allocations: 25.3 kB / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/1.224, allocations: 0 / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.224, allocations: 317.4 kB / 1.123 GB, free: 28.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005456/1.225, allocations: 93.59 kB / 1.123 GB, free: 28.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/1.225, allocations: 110.7 kB / 1.123 GB, free: 28.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005452/1.226, allocations: 92.2 kB / 1.123 GB, free: 28.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.738e-06/1.226, allocations: 0 / 1.123 GB, free: 28.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001221/1.227, allocations: 237.6 kB / 1.123 GB, free: 28.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/1.227, allocations: 3.781 kB / 1.123 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.227, allocations: 3.906 kB / 1.123 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/1.227, allocations: 0 / 1.123 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/1.228, allocations: 51.77 kB / 1.123 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.228, allocations: 0 / 1.123 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/1.228, allocations: 31.92 kB / 1.123 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.469e-05/1.228, allocations: 15.12 kB / 1.123 GB, free: 28.87 MB / 0.698 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.0001864/1.228, allocations: 120.4 kB / 1.123 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/1.228, allocations: 11.72 kB / 1.123 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/1.23, allocations: 241 kB / 1.124 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/1.23, allocations: 0 / 1.124 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.23, allocations: 3.938 kB / 1.124 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/1.23, allocations: 0 / 1.124 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003457/1.23, allocations: 242.8 kB / 1.124 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.23, allocations: 0 / 1.124 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/1.231, allocations: 50.25 kB / 1.124 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/1.231, allocations: 0 / 1.124 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/1.231, allocations: 2.953 kB / 1.124 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.231, allocations: 0 / 1.124 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.231, allocations: 0 / 1.124 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/1.232, allocations: 328 kB / 1.124 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/1.232, allocations: 87.66 kB / 1.124 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/1.232, allocations: 0 / 1.124 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005555/1.233, allocations: 50.28 kB / 1.124 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/1.233, allocations: 6.578 kB / 1.124 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/1.233, allocations: 6.688 kB / 1.124 GB, free: 28.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001038/1.233, allocations: 103.9 kB / 1.124 GB, free: 28.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.233, allocations: 0 / 1.124 GB, free: 28.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003711/1.233, allocations: 34.3 kB / 1.124 GB, free: 28.15 MB / 0.698 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.001622/1.235, allocations: 0.8463 MB / 1.125 GB, free: 27.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001227/1.236, allocations: 201.9 kB / 1.125 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/1.236, allocations: 0 / 1.125 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005632/1.237, allocations: 99.17 kB / 1.126 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/1.237, allocations: 9.688 kB / 1.126 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/1.239, allocations: 0.8086 MB / 1.126 GB, free: 26.76 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/1.239, allocations: 0.7032 MB / 1.127 GB, free: 26.06 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001807/1.239, allocations: 19.67 kB / 1.127 GB, free: 26.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/1.239, allocations: 34.95 kB / 1.127 GB, free: 26.04 MB / 0.698 GB Notification: Performance of SimCode: time 1.904e-06/1.239, allocations: 0 / 1.127 GB, free: 26.04 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/1.261, allocations: 2.399 MB / 1.129 GB, free: 25.81 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002744/1.261, allocations: 172.4 kB / 1.13 GB, free: 25.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/3.642, allocations: 0 / 1.13 GB, free: 25.57 MB / 0.698 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)