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.548/1.548, allocations: 252 MB / 267 MB, free: 10.93 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.001421/0.001421, allocations: 179.1 kB / 326.6 MB, free: 2.164 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.187/2.187, allocations: 205.4 MB / 0.5777 GB, free: 20.21 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.0007983/0.0007983, allocations: 86.34 kB / 0.6823 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003591, allocations: 12.66 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2239, allocations: 106.3 MB / 0.9003 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001656/0.2256, allocations: 1.16 MB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004562/0.2261, allocations: 184.5 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.845e-05/0.2261, allocations: 4 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.2262, allocations: 0 / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.87e-05/0.2262, allocations: 0 / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.2265, allocations: 27.92 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.616e-05/0.2266, allocations: 23.92 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.538e-05/0.2267, allocations: 4 kB / 0.9017 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.698e-05/0.2268, allocations: 11.97 kB / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.493e-05/0.2268, allocations: 15.88 kB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.2269, allocations: 0 / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.833e-05/0.227, allocations: 31.97 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.227, allocations: 7.984 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.227, allocations: 25.7 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.545e-05/0.2271, allocations: 19.97 kB / 0.9018 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.2271, allocations: 3.984 kB / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2271, allocations: 3.938 kB / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.2272, allocations: 0 / 0.9018 GB, free: 62.17 MB / 0.6042 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.000435/0.2276, allocations: 347.3 kB / 0.9021 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.2276, allocations: 8.031 kB / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.044e-05/0.2277, allocations: 34.56 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.2277, allocations: 7.906 kB / 0.9022 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.2278, allocations: 171.2 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.2279, allocations: 0 / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.2279, allocations: 4 kB / 0.9023 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.2281, allocations: 53.67 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2281, allocations: 4 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2281, allocations: 0 / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2281, allocations: 0 / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.2283, allocations: 43.95 kB / 0.9024 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002781/0.2286, allocations: 252.9 kB / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.2287, allocations: 46.55 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.688e-05/0.2288, allocations: 24.91 kB / 0.9027 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.087e-05/0.2289, allocations: 89.09 kB / 0.9028 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.2289, allocations: 34.56 kB / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.2289, allocations: 0 / 0.9029 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003492/0.2293, allocations: 105.7 kB / 0.903 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.2293, allocations: 51.41 kB / 0.903 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.199e-05/0.2294, allocations: 109.8 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.814e-06/0.2294, allocations: 25.7 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.706e-05/0.2294, allocations: 84.14 kB / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.2294, allocations: 3.906 kB / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.2294, allocations: 0 / 0.9032 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.236e-05/0.2295, allocations: 322.9 kB / 0.9035 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.2296, allocations: 19.98 kB / 0.9035 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-05/0.2297, allocations: 19.98 kB / 0.9036 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.019e-05/0.2297, allocations: 24.05 kB / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2298, allocations: 0 / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001908/0.2299, allocations: 85.5 kB / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.23, allocations: 4 kB / 0.9037 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.23, allocations: 7.969 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.23, allocations: 3.938 kB / 0.9037 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.2301, allocations: 11.98 kB / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.2301, allocations: 0 / 0.9037 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.344e-05/0.2302, allocations: 11.98 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.2302, allocations: 3.953 kB / 0.9037 GB, free: 59.95 MB / 0.6042 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.584e-05/0.2303, allocations: 113.8 kB / 0.9038 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.2303, allocations: 4 kB / 0.9038 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.2305, allocations: 80.72 kB / 0.9039 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2306, allocations: 0 / 0.9039 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.2306, allocations: 0 / 0.9039 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2306, allocations: 4.031 kB / 0.9039 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.2307, allocations: 165.6 kB / 0.9041 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2307, allocations: 4 kB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.758e-05/0.2308, allocations: 8 kB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2308, allocations: 3.984 kB / 0.9041 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.2308, allocations: 0 / 0.9041 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2308, allocations: 0 / 0.9041 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2308, allocations: 0 / 0.9041 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.231, allocations: 175.5 kB / 0.9042 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.2311, allocations: 85.02 kB / 0.9043 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.2311, allocations: 0 / 0.9043 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.2311, allocations: 12.03 kB / 0.9043 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.2312, allocations: 3.984 kB / 0.9043 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.2312, allocations: 0 / 0.9043 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.222e-05/0.2312, allocations: 87.47 kB / 0.9044 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2312, allocations: 0 / 0.9044 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002008/0.2314, allocations: 12 kB / 0.9044 GB, free: 59.11 MB / 0.6042 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.0004177/0.2319, allocations: 0.7163 MB / 0.9051 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.2321, allocations: 44 kB / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2321, allocations: 0 / 0.9052 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.565e-05/0.2322, allocations: 31.91 kB / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.2324, allocations: 6.125 kB / 0.9052 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.2328, allocations: 150.4 kB / 0.9054 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.266e-05/0.2329, allocations: 0.677 MB / 0.906 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.416e-05/0.2329, allocations: 0 / 0.906 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.233, allocations: 7.438 kB / 0.906 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.233, allocations: 4 kB / 0.906 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01121/0.2442, allocations: 1.196 MB / 0.9072 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/0.2444, allocations: 193.8 kB / 0.9074 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/1.783, allocations: 3.938 kB / 0.9074 GB, free: 56.1 MB / 0.6042 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)