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.402/1.402, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001285/0.001284, allocations: 182.5 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.001087/0.001087, allocations: 86.44 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003814, allocations: 9.5 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2355, allocations: 106.3 MB / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1705/0.4061, allocations: 131.7 MB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.4064, allocations: 75.95 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004126/0.4105, allocations: 1.354 MB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4106, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.4106, allocations: 0 / 1.03 GB, free: 10.46 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.0004244/0.411, allocations: 359.1 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.4111, allocations: 12.03 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.29e-05/0.4111, allocations: 38.55 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.4112, allocations: 0 / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.4113, allocations: 174.9 kB / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.4114, allocations: 0 / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.4114, allocations: 0 / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.4116, allocations: 57.61 kB / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.4116, allocations: 4 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4116, allocations: 0 / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.4116, allocations: 4 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.4118, allocations: 43.95 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.4123, allocations: 272.9 kB / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.4125, allocations: 42.48 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.4126, allocations: 85.17 kB / 1.031 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.4126, allocations: 34.56 kB / 1.031 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.4126, allocations: 0 / 1.031 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0004188/0.413, allocations: 101.7 kB / 1.031 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.4131, allocations: 55.34 kB / 1.031 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.433e-05/0.4132, allocations: 92.98 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.4132, allocations: 25.7 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.4133, allocations: 84.14 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.4133, allocations: 7.906 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.4133, allocations: 0 / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4134, allocations: 315.5 kB / 1.032 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.011e-05/0.4135, allocations: 28.02 kB / 1.032 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.949e-05/0.4136, allocations: 23.97 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.756e-05/0.4137, allocations: 24.05 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4137, allocations: 0 / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002306/0.414, allocations: 73.66 kB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.414, allocations: 7.938 kB / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.414, allocations: 0 / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.414, allocations: 8.031 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.153e-05/0.4141, allocations: 8 kB / 1.032 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.4141, allocations: 7.922 kB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.4142, allocations: 7.906 kB / 1.032 GB, free: 8.262 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.4142, allocations: 8 kB / 1.032 GB, free: 8.254 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.994e-05/0.4143, allocations: 109.8 kB / 1.032 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.4143, allocations: 0 / 1.032 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.4146, allocations: 88.77 kB / 1.032 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4146, allocations: 4.25 kB / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4146, allocations: 0 / 1.032 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.4147, allocations: 7.984 kB / 1.032 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.4148, allocations: 157.7 kB / 1.032 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4148, allocations: 4 kB / 1.032 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.531e-05/0.4149, allocations: 11.98 kB / 1.032 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.4149, allocations: 0 / 1.032 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.4149, allocations: 0 / 1.032 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.4149, allocations: 4 kB / 1.032 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4149, allocations: 7.875 kB / 1.032 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.4152, allocations: 175.5 kB / 1.033 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.4153, allocations: 81.02 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.4153, allocations: 7.984 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.551e-05/0.4154, allocations: 4 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.4154, allocations: 4.031 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.4154, allocations: 7.984 kB / 1.033 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.908e-05/0.4155, allocations: 83.28 kB / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4155, allocations: 0 / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002306/0.4157, allocations: 15.94 kB / 1.033 GB, free: 7.395 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.0006454/0.4164, allocations: 0.7241 MB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.4166, allocations: 48 kB / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4166, allocations: 0 / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.289e-05/0.4167, allocations: 23.98 kB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.4169, allocations: 2.234 kB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004824/0.4174, allocations: 158.3 kB / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.4177, allocations: 0.677 MB / 1.034 GB, free: 5.672 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.704e-05/0.4177, allocations: 4 kB / 1.034 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.4178, allocations: 7.438 kB / 1.034 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of SimCode: time 5.21e-07/0.4178, allocations: 0 / 1.034 GB, free: 5.66 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01155/0.4294, allocations: 1.155 MB / 1.036 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/0.4296, allocations: 192 kB / 1.036 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.453/1.883, allocations: 0 / 1.036 GB, free: 4.406 MB / 0.6823 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)