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.526/1.526, allocations: 251.9 MB / 266.8 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001135, allocations: 182.8 kB / 326.5 MB, free: 2.238 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.843/1.843, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.0007762/0.0007762, allocations: 95.72 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003213, allocations: 12.88 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2056, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1688/0.3745, allocations: 132.5 MB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.3747, allocations: 71.95 kB / 1.03 GB, free: 11.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004356/0.3791, allocations: 1.398 MB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.865e-06/0.3791, allocations: 0 / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.3792, allocations: 0 / 1.031 GB, free: 9.73 MB / 0.6823 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.0004425/0.3796, allocations: 359.1 kB / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.3797, allocations: 8.031 kB / 1.031 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.771e-05/0.3797, allocations: 34.56 kB / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.3798, allocations: 4 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.3799, allocations: 171 kB / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3799, allocations: 4 kB / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.3799, allocations: 0 / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.3801, allocations: 49.61 kB / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.3801, allocations: 3.938 kB / 1.032 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.3801, allocations: 4 kB / 1.032 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3802, allocations: 4 kB / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.163e-05/0.3802, allocations: 19.98 kB / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.3807, allocations: 252.8 kB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.723e-05/0.3808, allocations: 38.56 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007155/0.3815, allocations: 465.5 kB / 1.032 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.3816, allocations: 42.48 kB / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 2.805e-06/0.3816, allocations: 0 / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002684/0.3818, allocations: 73.61 kB / 1.032 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.3819, allocations: 51.41 kB / 1.032 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/0.382, allocations: 101 kB / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.382, allocations: 33.83 kB / 1.033 GB, free: 7.754 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.3821, allocations: 80.14 kB / 1.033 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.3821, allocations: 7.906 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.3821, allocations: 0 / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3823, allocations: 322.8 kB / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.3824, allocations: 8 kB / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.115e-05/0.3824, allocations: 11.98 kB / 1.033 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.811e-05/0.3825, allocations: 20 kB / 1.033 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3825, allocations: 0 / 1.033 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001323/0.3826, allocations: 61.67 kB / 1.033 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3826, allocations: 4 kB / 1.033 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3826, allocations: 0 / 1.033 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3827, allocations: 0 / 1.033 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.681e-05/0.3827, allocations: 8.031 kB / 1.033 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.3828, allocations: 4.312 kB / 1.033 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/0.3828, allocations: 7.984 kB / 1.033 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.3828, allocations: 0 / 1.033 GB, free: 7.211 MB / 0.6823 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 () * Number of clocked 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.412e-05/0.3829, allocations: 113.8 kB / 1.033 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.383, allocations: 7.906 kB / 1.033 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.3831, allocations: 69.14 kB / 1.033 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3832, allocations: 4 kB / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3832, allocations: 0 / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.3832, allocations: 0 / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.3834, allocations: 165.6 kB / 1.033 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3834, allocations: 0 / 1.033 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.252e-05/0.3834, allocations: 8 kB / 1.033 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.3835, allocations: 0 / 1.033 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3835, allocations: 0 / 1.033 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.3835, allocations: 3.984 kB / 1.033 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3835, allocations: 7.969 kB / 1.033 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.3837, allocations: 160.1 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.3838, allocations: 81.02 kB / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.3838, allocations: 0 / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.448e-05/0.3839, allocations: 11.94 kB / 1.034 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.3839, allocations: 8.016 kB / 1.034 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.3839, allocations: 0 / 1.034 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.002e-05/0.384, allocations: 83.28 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.384, allocations: 0 / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002578/0.3842, allocations: 31.92 kB / 1.034 GB, free: 6.371 MB / 0.6823 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 (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.0005972/0.3849, allocations: 0.7085 MB / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.385, allocations: 27.92 kB / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.385, allocations: 0 / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.06e-05/0.3851, allocations: 15.98 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/0.3852, allocations: 9.25 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.3857, allocations: 170.2 kB / 1.035 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.386, allocations: 0.6809 MB / 1.035 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.728e-05/0.386, allocations: 4 kB / 1.035 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.3861, allocations: 11.44 kB / 1.035 GB, free: 4.652 MB / 0.6823 GB Notification: Performance of SimCode: time 1.703e-06/0.3861, allocations: 4 kB / 1.035 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01182/0.3979, allocations: 1.35 MB / 1.037 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/0.3981, allocations: 181.8 kB / 1.037 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/1.958, allocations: 0 / 1.037 GB, free: 3.191 MB / 0.6823 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)