Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.522/1.522, allocations: 249.3 MB / 261.8 MB, free: 5.855 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.001234/0.001234, allocations: 182.5 kB / 321.3 MB, free: 14.63 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.703/1.703, allocations: 205.1 MB / 0.572 GB, free: 10.66 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.0008125/0.0008124, allocations: 92.28 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 6.333e-05/6.349e-05, allocations: 4 kB / 0.788 GB, free: 96.96 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.26, allocations: 106.3 MB / 0.8919 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7753/1.035, allocations: 131.2 MB / 1.02 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/1.036, allocations: 79.08 kB / 1.02 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006052/1.042, allocations: 2.038 MB / 1.022 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/1.042, allocations: 0 / 1.022 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.042, allocations: 0 / 1.022 GB, free: 1.699 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003486/1.042, allocations: 329.6 kB / 1.022 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/1.042, allocations: 12.03 kB / 1.022 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.085e-05/1.042, allocations: 37.86 kB / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/1.042, allocations: 0 / 1.022 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/1.042, allocations: 167 kB / 1.023 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/1.043, allocations: 4 kB / 1.023 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/1.043, allocations: 0 / 1.023 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/1.043, allocations: 44.81 kB / 1.023 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.043, allocations: 7.984 kB / 1.023 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/1.043, allocations: 4 kB / 1.023 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.043, allocations: 4 kB / 1.023 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.127e-05/1.043, allocations: 11.56 kB / 1.023 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002038/1.043, allocations: 161.2 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/1.043, allocations: 49.69 kB / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/1.043, allocations: 16.23 kB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/1.043, allocations: 84.61 kB / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/1.043, allocations: 38.55 kB / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/1.043, allocations: 0 / 1.023 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.001408/1.045, allocations: 470.5 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/1.045, allocations: 55.41 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/1.045, allocations: 88.31 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/1.045, allocations: 25.7 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/1.045, allocations: 80.14 kB / 1.024 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/1.045, allocations: 30.52 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/1.045, allocations: 3.375 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001314/1.045, allocations: 318.7 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.999e-05/1.045, allocations: 11.25 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.307e-05/1.045, allocations: 11.19 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.513e-05/1.045, allocations: 19.7 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.045, allocations: 7.938 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001354/1.045, allocations: 63.19 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.046, allocations: 4 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.046, allocations: 4 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/1.046, allocations: 4 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/1.046, allocations: 8.25 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/1.046, allocations: 0 / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.875e-05/1.046, allocations: 15.92 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/1.046, allocations: 0 / 1.024 GB, free: 15.33 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 (8): * Single equations (assignments): 8 * 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.36e-05/1.046, allocations: 111 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/1.046, allocations: 3.906 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/1.046, allocations: 89.31 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/1.046, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.046, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.046, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/1.046, allocations: 169 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.046, allocations: 0 / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.59e-05/1.046, allocations: 19.44 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.046, allocations: 0 / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/1.046, allocations: 4 kB / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.046, allocations: 0 / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.046, allocations: 0 / 1.025 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/1.047, allocations: 118.5 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/1.047, allocations: 84.97 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/1.047, allocations: 0 / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.19e-05/1.047, allocations: 4.031 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/1.047, allocations: 3.984 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/1.047, allocations: 11.88 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.887e-05/1.047, allocations: 79.34 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.82e-07/1.047, allocations: 0 / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002593/1.047, allocations: 39.94 kB / 1.025 GB, free: 14.55 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0006345/1.048, allocations: 0.6846 MB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001556/1.048, allocations: 35.19 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.048, allocations: 4.156 kB / 1.026 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.549e-05/1.048, allocations: 24.27 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/1.048, allocations: 4 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/1.049, allocations: 161.8 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/1.049, allocations: 0.6848 MB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.813e-05/1.049, allocations: 16.31 kB / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/1.049, allocations: 19.3 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/1.049, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/1.063, allocations: 1.5 MB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/1.063, allocations: 184.2 kB / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.592, allocations: 0 / 1.028 GB, free: 11.34 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)