Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothLimit",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.469/1.469, allocations: 249.3 MB / 261.8 MB, free: 5.965 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.0009754/0.0009753, allocations: 174.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.563/1.563, allocations: 205.2 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.0009307/0.0009306, allocations: 90.53 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.245e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2214, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8151/1.037, allocations: 132.4 MB / 1.021 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/1.037, allocations: 68.97 kB / 1.021 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004552/1.041, allocations: 1.391 MB / 1.023 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.715e-06/1.042, allocations: 0 / 1.023 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.608e-06/1.042, allocations: 0 / 1.023 GB, free: 1.09 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004482/1.042, allocations: 342.4 kB / 1.023 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/1.042, allocations: 8.031 kB / 1.023 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.869e-05/1.042, allocations: 38 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.182e-05/1.042, allocations: 7.906 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/1.042, allocations: 171 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/1.042, allocations: 5.875 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/1.042, allocations: 0 / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/1.043, allocations: 41.25 kB / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.043, allocations: 0 / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/1.043, allocations: 0 / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/1.043, allocations: 0 / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.943e-05/1.043, allocations: 11.44 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/1.043, allocations: 255.4 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.452e-05/1.043, allocations: 32.75 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/1.043, allocations: 18.95 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007603/1.044, allocations: 473.2 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/1.044, allocations: 34.56 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/1.044, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.000202/1.044, allocations: 48.73 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/1.044, allocations: 51.41 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.918e-05/1.045, allocations: 104.3 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/1.045, allocations: 29.73 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/1.045, allocations: 91.72 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/1.045, allocations: 3.938 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/1.045, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.045, allocations: 318.2 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/1.045, allocations: 4 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/1.045, allocations: 3.562 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.156e-05/1.045, allocations: 4 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.045, allocations: 4.062 kB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.786e-05/1.045, allocations: 52.53 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/1.045, allocations: 11.94 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/1.045, allocations: 0 / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/1.045, allocations: 0 / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.175e-05/1.045, allocations: 7.984 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.045, allocations: 0 / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.211e-05/1.045, allocations: 4 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/1.045, allocations: 3.953 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.233e-05/1.045, allocations: 113 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/1.045, allocations: 0 / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/1.046, allocations: 60.11 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/1.046, allocations: 0 / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.046, allocations: 0 / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/1.046, allocations: 3.984 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/1.046, allocations: 168.5 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/1.046, allocations: 0 / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.921e-05/1.046, allocations: 15.95 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/1.046, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/1.046, allocations: 4 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.046, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.046, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/1.046, allocations: 142.2 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/1.046, allocations: 77.11 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/1.046, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.427e-05/1.046, allocations: 8.031 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/1.046, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/1.046, allocations: 11.92 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.335e-05/1.046, allocations: 83.02 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.046, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002463/1.047, allocations: 23.94 kB / 1.025 GB, free: 13.93 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 (2): * Single equations (assignments): 2 * 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.0006406/1.047, allocations: 0.6983 MB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.611e-05/1.047, allocations: 15.31 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.047, allocations: 0 / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-05/1.047, allocations: 11.75 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/1.048, allocations: 0 / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/1.048, allocations: 110.5 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/1.048, allocations: 0.6848 MB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.965e-05/1.048, allocations: 4 kB / 1.027 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/1.048, allocations: 10.94 kB / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/1.048, allocations: 0 / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01131/1.06, allocations: 1.355 MB / 1.028 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/1.06, allocations: 150.9 kB / 1.028 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/2.553, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)