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.509/1.509, allocations: 249.5 MB / 257 MB, free: 6.922 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.001019/0.001019, allocations: 179.3 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.846/1.846, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008156/0.0008158, allocations: 90.47 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.326e-05/2.327e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2388, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7591/0.9979, allocations: 132.7 MB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.9982, allocations: 79.52 kB / 1.015 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003872/1.002, allocations: 1.376 MB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.182e-06/1.002, allocations: 0.75 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.19e-06/1.002, allocations: 0 / 1.016 GB, free: 3.434 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.0003422/1.002, allocations: 350.1 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.003, allocations: 8.031 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/1.003, allocations: 7.906 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/1.003, allocations: 175 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/1.003, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/1.003, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.678e-05/1.003, allocations: 15.12 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.635e-05/1.003, allocations: 37.56 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/1.003, allocations: 0 / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/1.003, allocations: 0 / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/1.003, allocations: 0 / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/1.003, allocations: 243 kB / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.523e-05/1.003, allocations: 26.2 kB / 1.017 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/1.003, allocations: 11.66 kB / 1.017 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006278/1.004, allocations: 469.4 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/1.004, allocations: 34.56 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/1.004, allocations: 0 / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.003154/1.007, allocations: 0.5431 MB / 1.018 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/1.007, allocations: 51.41 kB / 1.018 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.4e-05/1.007, allocations: 97.69 kB / 1.018 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/1.007, allocations: 25.7 kB / 1.018 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/1.007, allocations: 91.66 kB / 1.018 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/1.007, allocations: 11.56 kB / 1.018 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/1.007, allocations: 4.031 kB / 1.018 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.008, allocations: 314.8 kB / 1.019 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/1.008, allocations: 11.81 kB / 1.019 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.377e-05/1.008, allocations: 4 kB / 1.019 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002909/1.011, allocations: 0.5141 MB / 1.019 GB, free: 248 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.011, allocations: 0 / 1.019 GB, free: 248 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.002922/1.013, allocations: 0.542 MB / 1.02 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/1.014, allocations: 12.03 kB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.014, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.014, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.86e-05/1.014, allocations: 7.984 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/1.014, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.606e-05/1.014, allocations: 4 kB / 1.02 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/1.014, allocations: 0 / 1.02 GB, free: 15.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 7.578e-05/1.014, allocations: 108.9 kB / 1.02 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002971/1.017, allocations: 0.5609 MB / 1.02 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/1.017, allocations: 3.906 kB / 1.02 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00301/1.02, allocations: 0.5641 MB / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/1.02, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.02, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/1.02, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/1.02, allocations: 141.9 kB / 1.021 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/1.02, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.292e-05/1.02, allocations: 8.031 kB / 1.021 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.02, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/1.02, allocations: 3.938 kB / 1.021 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.02, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.02, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003005/1.023, allocations: 0.6503 MB / 1.022 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/1.023, allocations: 81.02 kB / 1.022 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/1.023, allocations: 3.984 kB / 1.022 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.826e-05/1.023, allocations: 4 kB / 1.022 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/1.023, allocations: 0 / 1.022 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/1.023, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.085e-05/1.023, allocations: 91.17 kB / 1.022 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/1.023, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002376/1.024, allocations: 23.92 kB / 1.022 GB, free: 13.46 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.00331/1.027, allocations: 1.193 MB / 1.023 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.572e-05/1.027, allocations: 15.67 kB / 1.023 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.027, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.077e-05/1.027, allocations: 11.5 kB / 1.023 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/1.027, allocations: 2.578 kB / 1.023 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/1.028, allocations: 113.2 kB / 1.023 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/1.028, allocations: 0.6884 MB / 1.024 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.932e-05/1.028, allocations: 3.938 kB / 1.024 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/1.028, allocations: 10.94 kB / 1.024 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of SimCode: time 3.01e-07/1.028, allocations: 0 / 1.024 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/1.047, allocations: 1.039 MB / 1.025 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/1.048, allocations: 146.5 kB / 1.025 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.343/2.391, allocations: 1.969 kB / 1.025 GB, free: 10.16 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)