Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothExponential",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.454/1.454, allocations: 249.3 MB / 261.9 MB, free: 5.812 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.001171/0.001171, allocations: 185.7 kB / 321.3 MB, free: 14.67 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.732/1.732, allocations: 205.1 MB / 0.572 GB, free: 10.64 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.001042/0.001042, allocations: 90.48 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.791e-05/3.802e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2465, allocations: 106.3 MB / 0.8919 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8452/1.092, allocations: 131.7 MB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/1.092, allocations: 67.09 kB / 1.021 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004187/1.096, allocations: 1.342 MB / 1.022 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/1.096, allocations: 0 / 1.022 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.253e-06/1.096, allocations: 4 kB / 1.022 GB, free: 1.855 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.0004832/1.097, allocations: 354 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 8.023e-05/1.097, allocations: 8.031 kB / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.042e-05/1.097, allocations: 30.56 kB / 1.022 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/1.097, allocations: 0 / 1.022 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/1.097, allocations: 178.9 kB / 1.022 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/1.097, allocations: 7.922 kB / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/1.097, allocations: 0 / 1.022 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/1.097, allocations: 36.33 kB / 1.022 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/1.097, allocations: 4 kB / 1.022 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/1.097, allocations: 4.062 kB / 1.022 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/1.097, allocations: 3.984 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.553e-05/1.098, allocations: 15.38 kB / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006048/1.098, allocations: 264.6 kB / 1.023 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.958e-05/1.098, allocations: 36.89 kB / 1.023 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/1.098, allocations: 12.55 kB / 1.023 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/1.098, allocations: 77.11 kB / 1.023 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/1.099, allocations: 34.5 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/1.099, allocations: 0 / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001959/1.099, allocations: 40.7 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/1.099, allocations: 54.97 kB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/1.099, allocations: 98.64 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/1.099, allocations: 29.7 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.002e-05/1.099, allocations: 83.77 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/1.099, allocations: 3.906 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/1.099, allocations: 0 / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001925/1.099, allocations: 317.9 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/1.099, allocations: 4 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/1.099, allocations: 7.312 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/1.099, allocations: 12.09 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.099, allocations: 0 / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.635e-05/1.099, allocations: 45.33 kB / 1.024 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.237e-05/1.1, allocations: 4 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.1, allocations: 0 / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/1.1, allocations: 0 / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.686e-05/1.1, allocations: 11.98 kB / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/1.1, allocations: 3.938 kB / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.48e-05/1.1, allocations: 19.95 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/1.1, allocations: 0 / 1.024 GB, free: 15.9 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 8.252e-05/1.1, allocations: 110.7 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/1.1, allocations: 3.906 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/1.1, allocations: 52.45 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/1.1, allocations: 256 / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.1, allocations: 4 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.1, allocations: 4.031 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/1.1, allocations: 168.1 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.1, allocations: 0 / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/1.1, allocations: 8 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.1, allocations: 3.938 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/1.1, allocations: 0 / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/1.1, allocations: 4 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.1, allocations: 3.984 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/1.101, allocations: 142.6 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/1.101, allocations: 77.11 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/1.101, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.062e-05/1.101, allocations: 15.92 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/1.101, allocations: 0 / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/1.101, allocations: 0 / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.346e-05/1.101, allocations: 87.14 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.101, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002491/1.101, allocations: 19.97 kB / 1.024 GB, free: 15.14 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.00059/1.102, allocations: 0.6838 MB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.196e-05/1.102, allocations: 15.38 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.102, allocations: 0 / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/1.102, allocations: 15.72 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/1.102, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/1.102, allocations: 102.4 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/1.103, allocations: 0.6809 MB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.833e-05/1.103, allocations: 0 / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/1.103, allocations: 11.06 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of SimCode: time 3.5e-07/1.103, allocations: 4 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0118/1.115, allocations: 1.165 MB / 1.027 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/1.115, allocations: 164 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/2.62, allocations: 0 / 1.027 GB, free: 12.28 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)