Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential",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.711/1.711, allocations: 292.6 MB / 307.5 MB, free: 5.164 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.001192/0.001192, allocations: 185.8 kB / 377.1 MB, free: 1.523 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.549/1.549, allocations: 205.4 MB / 0.6366 GB, free: 8.633 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.0008407/0.0008407, allocations: 92.02 kB / 0.7509 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003626, allocations: 8 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2831, allocations: 116.3 MB / 0.9884 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8205/1.104, allocations: 139 MB / 1.124 GB, free: 35.5 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/1.104, allocations: 75.02 kB / 1.124 GB, free: 35.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003914/1.108, allocations: 1.352 MB / 1.126 GB, free: 34.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.976e-06/1.108, allocations: 0 / 1.126 GB, free: 34.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.137e-06/1.108, allocations: 0 / 1.126 GB, free: 34.4 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.0005011/1.109, allocations: 359.8 kB / 1.126 GB, free: 34.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.763e-05/1.109, allocations: 16.02 kB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.701e-05/1.109, allocations: 33.98 kB / 1.126 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/1.109, allocations: 2.062 kB / 1.126 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/1.109, allocations: 167.5 kB / 1.126 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/1.109, allocations: 0 / 1.126 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/1.109, allocations: 11.17 kB / 1.126 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/1.109, allocations: 53.23 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/1.109, allocations: 0.6094 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/1.109, allocations: 0 / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/1.109, allocations: 4 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/1.109, allocations: 47.2 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/1.11, allocations: 265.1 kB / 1.126 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/1.11, allocations: 52 kB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/1.11, allocations: 81.17 kB / 1.127 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/1.11, allocations: 31.69 kB / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/1.11, allocations: 0 / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003765/1.111, allocations: 107.7 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.21e-05/1.111, allocations: 51.41 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.364e-05/1.111, allocations: 93 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/1.111, allocations: 25.7 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/1.111, allocations: 92.2 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/1.111, allocations: 7.422 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/1.111, allocations: 0 / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.935e-05/1.111, allocations: 321.5 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.249e-05/1.111, allocations: 23.55 kB / 1.127 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.357e-05/1.111, allocations: 27.17 kB / 1.127 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.521e-05/1.111, allocations: 19.42 kB / 1.127 GB, free: 32.42 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/1.111, allocations: 0 / 1.127 GB, free: 32.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002018/1.111, allocations: 80.22 kB / 1.127 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.112, allocations: 4 kB / 1.127 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/1.112, allocations: 1.969 kB / 1.127 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/1.112, allocations: 4 kB / 1.127 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/1.112, allocations: 12.3 kB / 1.127 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/1.112, allocations: 0 / 1.127 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/1.112, allocations: 7.094 kB / 1.127 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/1.112, allocations: 8.031 kB / 1.127 GB, free: 32.32 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.509e-05/1.112, allocations: 113.7 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/1.112, allocations: 0.75 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/1.112, allocations: 86.61 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.112, allocations: 4 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.112, allocations: 0 / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/1.112, allocations: 0.5625 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/1.112, allocations: 160.5 kB / 1.128 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.112, allocations: 0 / 1.128 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/1.112, allocations: 11.92 kB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/1.112, allocations: 0.6562 kB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/1.112, allocations: 0 / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/1.112, allocations: 8.031 kB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.113, allocations: 0.5 kB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/1.113, allocations: 182.1 kB / 1.128 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/1.113, allocations: 81.14 kB / 1.128 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/1.113, allocations: 4 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/1.113, allocations: 8.922 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/1.113, allocations: 0 / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.381e-06/1.113, allocations: 4 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.465e-05/1.113, allocations: 87.33 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.01e-07/1.113, allocations: 0 / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002412/1.113, allocations: 11.94 kB / 1.128 GB, free: 31.52 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.000577/1.114, allocations: 0.7308 MB / 1.129 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002232/1.114, allocations: 50.12 kB / 1.129 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.114, allocations: 0 / 1.129 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.466e-05/1.114, allocations: 27.39 kB / 1.129 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/1.114, allocations: 0 / 1.129 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/1.115, allocations: 150.1 kB / 1.129 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/1.115, allocations: 0.6805 MB / 1.13 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.252e-05/1.115, allocations: 5.422 kB / 1.13 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/1.115, allocations: 11.5 kB / 1.13 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of SimCode: time 9.92e-07/1.115, allocations: 4 kB / 1.13 GB, free: 29.83 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01543/1.131, allocations: 1.131 MB / 1.131 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002043/1.131, allocations: 178.3 kB / 1.131 GB, free: 29.01 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.901, allocations: 0 / 1.131 GB, free: 29.01 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)