Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.706/1.706, allocations: 292.6 MB / 307.5 MB, free: 5.234 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.001091/0.00109, allocations: 173 kB / 377.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.4 MB / 0.6366 GB, free: 8.641 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008753/0.0008753, allocations: 95.47 kB / 0.7509 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004155, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2988, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8487/1.148, allocations: 139.8 MB / 1.125 GB, free: 35.02 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/1.148, allocations: 78.22 kB / 1.125 GB, free: 34.95 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004184/1.152, allocations: 1.389 MB / 1.126 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.465e-06/1.152, allocations: 0 / 1.126 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.177e-06/1.152, allocations: 0 / 1.126 GB, free: 33.89 MB / 0.7292 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.0003557/1.153, allocations: 359.8 kB / 1.127 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.153, allocations: 12.86 kB / 1.127 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/1.153, allocations: 42.5 kB / 1.127 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/1.153, allocations: 2.688 kB / 1.127 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/1.153, allocations: 174.4 kB / 1.127 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/1.153, allocations: 2.234 kB / 1.127 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/1.153, allocations: 3.438 kB / 1.127 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/1.153, allocations: 45.03 kB / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/1.153, allocations: 0 / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/1.153, allocations: 0 / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/1.153, allocations: 5.5 kB / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.089e-05/1.153, allocations: 31.17 kB / 1.127 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/1.153, allocations: 252.3 kB / 1.127 GB, free: 32.87 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.308e-05/1.154, allocations: 32.98 kB / 1.127 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006619/1.154, allocations: 469.4 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/1.154, allocations: 34.56 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.884e-06/1.154, allocations: 4 kB / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002993/1.155, allocations: 73.42 kB / 1.128 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/1.155, allocations: 52.25 kB / 1.128 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/1.155, allocations: 101.4 kB / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/1.155, allocations: 25.7 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/1.155, allocations: 84.27 kB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/1.155, allocations: 15.89 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/1.155, allocations: 0 / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.258e-05/1.155, allocations: 322.2 kB / 1.128 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.213e-05/1.155, allocations: 8 kB / 1.128 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.458e-05/1.155, allocations: 15.56 kB / 1.128 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.661e-05/1.155, allocations: 12.72 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.155, allocations: 0 / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001208/1.155, allocations: 60.55 kB / 1.128 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/1.155, allocations: 7.938 kB / 1.128 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/1.155, allocations: 0 / 1.128 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/1.155, allocations: 0 / 1.128 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/1.155, allocations: 8.688 kB / 1.128 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/1.155, allocations: 4.031 kB / 1.128 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.532e-05/1.155, allocations: 8.031 kB / 1.128 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/1.155, allocations: 0 / 1.128 GB, free: 31.46 MB / 0.7292 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 8.204e-05/1.156, allocations: 113.8 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.237e-05/1.156, allocations: 4 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/1.156, allocations: 65.19 kB / 1.129 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.156, allocations: 2.062 kB / 1.129 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.156, allocations: 4.031 kB / 1.129 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.156, allocations: 3.516 kB / 1.129 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/1.156, allocations: 161.2 kB / 1.129 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.156, allocations: 0.5 kB / 1.129 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/1.156, allocations: 10.98 kB / 1.129 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.156, allocations: 3.938 kB / 1.129 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/1.156, allocations: 0 / 1.129 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/1.156, allocations: 0.5 kB / 1.129 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.156, allocations: 4 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/1.156, allocations: 166.2 kB / 1.129 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/1.156, allocations: 77.11 kB / 1.129 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/1.156, allocations: 0.5 kB / 1.129 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.789e-05/1.156, allocations: 7.422 kB / 1.129 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/1.156, allocations: 0 / 1.129 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/1.157, allocations: 5.438 kB / 1.129 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.091e-05/1.157, allocations: 92.05 kB / 1.129 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.2e-07/1.157, allocations: 0 / 1.129 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002402/1.157, allocations: 19.94 kB / 1.129 GB, free: 30.68 MB / 0.7292 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.0004849/1.157, allocations: 0.7157 MB / 1.13 GB, free: 29.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001442/1.157, allocations: 27.47 kB / 1.13 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.157, allocations: 0 / 1.13 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.468e-05/1.158, allocations: 19.41 kB / 1.13 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/1.158, allocations: 1.406 kB / 1.13 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004573/1.158, allocations: 181.8 kB / 1.13 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/1.158, allocations: 0.6801 MB / 1.131 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.78e-05/1.158, allocations: 4 kB / 1.131 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/1.158, allocations: 12.47 kB / 1.131 GB, free: 29 MB / 0.7292 GB Notification: Performance of SimCode: time 2.11e-07/1.158, allocations: 0 / 1.131 GB, free: 29 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01265/1.171, allocations: 1.335 MB / 1.132 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/1.171, allocations: 175.5 kB / 1.132 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.864, allocations: 0 / 1.132 GB, free: 28.04 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)