Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.539/1.539, allocations: 249.3 MB / 261.9 MB, free: 5.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001382/0.001382, allocations: 186.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.1 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009727/0.0009728, allocations: 82.52 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.682e-05/3.688e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2413, allocations: 106.3 MB / 0.8919 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8775/1.119, allocations: 133.5 MB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/1.119, allocations: 78.2 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01598/1.135, allocations: 5.046 MB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.864e-06/1.135, allocations: 0 / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.586e-06/1.135, allocations: 4 kB / 1.027 GB, free: 12.88 MB / 0.6511 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.0005671/1.136, allocations: 401.2 kB / 1.028 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.528e-05/1.136, allocations: 20.02 kB / 1.028 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.787e-05/1.136, allocations: 34.38 kB / 1.028 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007976/1.137, allocations: 122.8 kB / 1.028 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/1.137, allocations: 185.3 kB / 1.028 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/1.137, allocations: 66.81 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/1.137, allocations: 7.938 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/1.137, allocations: 117.1 kB / 1.028 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.137, allocations: 0 / 1.028 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/1.138, allocations: 7.938 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/1.138, allocations: 7.953 kB / 1.028 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/1.138, allocations: 75.3 kB / 1.028 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/1.139, allocations: 0.4918 MB / 1.029 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/1.14, allocations: 166.8 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.61e-05/1.14, allocations: 41.3 kB / 1.029 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.3e-05/1.14, allocations: 7.922 kB / 1.029 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/1.14, allocations: 34 kB / 1.029 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 3.327e-06/1.14, allocations: 3.984 kB / 1.029 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0003795/1.14, allocations: 105.5 kB / 1.029 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/1.14, allocations: 51.41 kB / 1.029 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/1.14, allocations: 131.4 kB / 1.029 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/1.14, allocations: 29.08 kB / 1.029 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/1.141, allocations: 115.2 kB / 1.029 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/1.141, allocations: 23.62 kB / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.606e-06/1.141, allocations: 0 / 1.029 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.141, allocations: 321.4 kB / 1.03 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.948e-05/1.141, allocations: 30.56 kB / 1.03 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/1.141, allocations: 56.12 kB / 1.03 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.876e-05/1.141, allocations: 38.55 kB / 1.03 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.141, allocations: 0 / 1.03 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001976/1.141, allocations: 122.2 kB / 1.03 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/1.141, allocations: 4 kB / 1.03 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.141, allocations: 0 / 1.03 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.141, allocations: 4 kB / 1.03 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/1.142, allocations: 44.02 kB / 1.03 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/1.142, allocations: 4 kB / 1.03 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/1.142, allocations: 43.75 kB / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/1.142, allocations: 3.938 kB / 1.03 GB, free: 10.07 MB / 0.6511 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 9.429e-05/1.142, allocations: 109 kB / 1.03 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/1.142, allocations: 7.906 kB / 1.03 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/1.142, allocations: 122.3 kB / 1.03 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.142, allocations: 4 kB / 1.03 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.142, allocations: 0 / 1.03 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.142, allocations: 3.984 kB / 1.03 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/1.143, allocations: 239.2 kB / 1.03 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.143, allocations: 4 kB / 1.03 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/1.143, allocations: 43.89 kB / 1.031 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.143, allocations: 0 / 1.031 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/1.143, allocations: 7.172 kB / 1.031 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.143, allocations: 3.938 kB / 1.031 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.143, allocations: 0 / 1.031 GB, free: 9.543 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/1.143, allocations: 208.6 kB / 1.031 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.3e-05/1.143, allocations: 85.02 kB / 1.031 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/1.143, allocations: 0 / 1.031 GB, free: 9.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/1.144, allocations: 43.95 kB / 1.031 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/1.144, allocations: 7.984 kB / 1.031 GB, free: 9.199 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/1.144, allocations: 11.8 kB / 1.031 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.887e-05/1.144, allocations: 104.6 kB / 1.031 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.144, allocations: 0 / 1.031 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002914/1.144, allocations: 27.89 kB / 1.031 GB, free: 9.07 MB / 0.6511 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.0006497/1.145, allocations: 0.7344 MB / 1.032 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002184/1.145, allocations: 84.92 kB / 1.032 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.145, allocations: 0 / 1.032 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.094e-05/1.145, allocations: 42.42 kB / 1.032 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/1.145, allocations: 11.62 kB / 1.032 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/1.146, allocations: 179.4 kB / 1.032 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/1.146, allocations: 0.7107 MB / 1.033 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001111/1.146, allocations: 19.88 kB / 1.033 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.789e-05/1.147, allocations: 30.42 kB / 1.033 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of SimCode: time 3.8e-07/1.147, allocations: 0 / 1.033 GB, free: 7.273 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/1.161, allocations: 2.418 MB / 1.035 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/1.161, allocations: 159.9 kB / 1.035 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/2.698, allocations: 0 / 1.035 GB, free: 4.742 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)