Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.836/1.836, allocations: 288.2 MB / 303.2 MB, free: 8.113 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.001137/0.001137, allocations: 181 kB / 371.8 MB, free: 10.25 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.606/1.606, allocations: 205.4 MB / 0.6305 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009468/0.0009469, allocations: 98.81 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003896, allocations: 13.06 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2227, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001405/0.2241, allocations: 1.141 MB / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003411/0.2245, allocations: 184.4 kB / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/0.2245, allocations: 0 / 0.9808 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.2246, allocations: 3.938 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.715e-05/0.2246, allocations: 4 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.2248, allocations: 23.95 kB / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.579e-05/0.2249, allocations: 19.92 kB / 0.9808 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.205e-05/0.225, allocations: 7.984 kB / 0.9808 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.596e-05/0.225, allocations: 8 kB / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.997e-05/0.2251, allocations: 11.92 kB / 0.9808 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.2251, allocations: 0 / 0.9808 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.322e-05/0.2251, allocations: 27.97 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.294e-06/0.2252, allocations: 4 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.2252, allocations: 29.7 kB / 0.9809 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.651e-05/0.2253, allocations: 27.94 kB / 0.9809 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2253, allocations: 3.938 kB / 0.9809 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2253, allocations: 4 kB / 0.9809 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.2253, allocations: 0 / 0.9809 GB, free: 26.07 MB / 0.6198 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.0003699/0.2257, allocations: 347.5 kB / 0.9813 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2257, allocations: 12.02 kB / 0.9813 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.515e-05/0.2257, allocations: 30.56 kB / 0.9813 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.048e-05/0.2258, allocations: 0 / 0.9813 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.843e-05/0.2259, allocations: 175 kB / 0.9815 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.2259, allocations: 4 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.2259, allocations: 0 / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.2261, allocations: 53.67 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2261, allocations: 0 / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.2261, allocations: 4 kB / 0.9815 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2261, allocations: 0 / 0.9815 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.2263, allocations: 47.97 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.2266, allocations: 256.8 kB / 0.9818 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.2267, allocations: 42.56 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.071e-05/0.2268, allocations: 81.17 kB / 0.9819 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.2268, allocations: 34.55 kB / 0.982 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.2268, allocations: 0 / 0.982 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000351/0.2272, allocations: 101.6 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.2272, allocations: 55.39 kB / 0.9821 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.582e-05/0.2273, allocations: 101.9 kB / 0.9822 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.2273, allocations: 25.7 kB / 0.9822 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.714e-05/0.2273, allocations: 80.14 kB / 0.9823 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.2274, allocations: 15.97 kB / 0.9823 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.2274, allocations: 0 / 0.9823 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.74e-05/0.2274, allocations: 322.8 kB / 0.9826 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.2275, allocations: 19.98 kB / 0.9827 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.241e-05/0.2276, allocations: 23.98 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.848e-05/0.2277, allocations: 23.92 kB / 0.9827 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2277, allocations: 0 / 0.9827 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001792/0.2279, allocations: 77.72 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.2279, allocations: 8 kB / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.2279, allocations: 3.938 kB / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2279, allocations: 0 / 0.9828 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.415e-05/0.228, allocations: 15.92 kB / 0.9828 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.228, allocations: 0 / 0.9828 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.2281, allocations: 11.98 kB / 0.9828 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.2281, allocations: 4.016 kB / 0.9828 GB, free: 23.89 MB / 0.6198 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 4.808e-05/0.2281, allocations: 117.8 kB / 0.9829 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.2281, allocations: 4 kB / 0.9829 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.2284, allocations: 80.69 kB / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.2284, allocations: 4.031 kB / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2284, allocations: 256 / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2284, allocations: 0 / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.2285, allocations: 165.6 kB / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2285, allocations: 0 / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.2286, allocations: 15.98 kB / 0.9832 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2286, allocations: 3.938 kB / 0.9832 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.2286, allocations: 4 kB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2286, allocations: 0 / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2286, allocations: 4 kB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.2288, allocations: 167.5 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.792e-05/0.2288, allocations: 81.11 kB / 0.9834 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.2289, allocations: 4.031 kB / 0.9834 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.2289, allocations: 11.98 kB / 0.9835 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.229, allocations: 4 kB / 0.9835 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.229, allocations: 0 / 0.9835 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.11e-05/0.229, allocations: 79.28 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.229, allocations: 0 / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002174/0.2292, allocations: 11.98 kB / 0.9835 GB, free: 23.04 MB / 0.6198 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.0003957/0.2296, allocations: 0.7241 MB / 0.9843 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.2299, allocations: 48 kB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2299, allocations: 0 / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.505e-05/0.23, allocations: 32.03 kB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.2302, allocations: 7.938 kB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.2305, allocations: 150.1 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.2307, allocations: 0.6809 MB / 0.9851 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.501e-05/0.2307, allocations: 0 / 0.9851 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.2308, allocations: 11.44 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.2308, allocations: 64 / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01249/0.2433, allocations: 1.177 MB / 0.9863 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/0.2435, allocations: 190.4 kB / 0.9865 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/1.731, allocations: 0 / 0.9865 GB, free: 20.04 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)