Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",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.439/1.439, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001592/0.001592, allocations: 176.9 kB / 326.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.00079/0.0007902, allocations: 97.98 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 10.97 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2289, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001658/0.2306, allocations: 1.455 MB / 0.9016 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008411/0.2315, allocations: 0.6408 MB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.2315, allocations: 4 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/0.2316, allocations: 11.92 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.527e-05/0.2316, allocations: 7.984 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.2321, allocations: 153.8 kB / 0.9024 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.73e-05/0.2322, allocations: 71.86 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.2323, allocations: 33.28 kB / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.161e-05/0.2324, allocations: 47.83 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.2325, allocations: 35.84 kB / 0.9025 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.2325, allocations: 8 kB / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.93e-05/0.2326, allocations: 39.95 kB / 0.9026 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.2326, allocations: 15.92 kB / 0.9026 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.2326, allocations: 41.64 kB / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.2327, allocations: 91.81 kB / 0.9027 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2328, allocations: 0 / 0.9027 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2328, allocations: 0 / 0.9027 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.2328, allocations: 0 / 0.9027 GB, free: 61.19 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004469/0.2332, allocations: 427.1 kB / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2333, allocations: 11.97 kB / 0.9032 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.2333, allocations: 42.5 kB / 0.9032 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007715/0.2341, allocations: 143.7 kB / 0.9033 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.647e-05/0.2342, allocations: 186.9 kB / 0.9035 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.507e-05/0.2343, allocations: 59.41 kB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.2343, allocations: 8 kB / 0.9036 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.2348, allocations: 185.5 kB / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.2348, allocations: 0 / 0.9037 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.2348, allocations: 7.938 kB / 0.9038 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2348, allocations: 7.953 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/0.2354, allocations: 195.8 kB / 0.9039 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009326/0.2363, allocations: 0.5016 MB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009269/0.2373, allocations: 266.3 kB / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.2373, allocations: 0 / 0.9047 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.2373, allocations: 30.56 kB / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 8.01e-07/0.2373, allocations: 0 / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0009411/0.2383, allocations: 325.6 kB / 0.905 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.297e-05/0.2383, allocations: 51.41 kB / 0.9051 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.962e-05/0.2384, allocations: 140.5 kB / 0.9052 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.2384, allocations: 25.7 kB / 0.9052 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.2385, allocations: 112.1 kB / 0.9053 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.2385, allocations: 23.64 kB / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-06/0.2385, allocations: 4 kB / 0.9054 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.808e-05/0.2386, allocations: 322.8 kB / 0.9057 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.2389, allocations: 91.91 kB / 0.9058 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.2392, allocations: 106.5 kB / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.2395, allocations: 91.92 kB / 0.906 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2395, allocations: 4 kB / 0.906 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006156/0.2401, allocations: 237.3 kB / 0.9062 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.2401, allocations: 7.938 kB / 0.9062 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2401, allocations: 0 / 0.9062 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2401, allocations: 8.031 kB / 0.9062 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.2404, allocations: 43.95 kB / 0.9062 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2404, allocations: 4 kB / 0.9063 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.2406, allocations: 35.92 kB / 0.9063 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.2406, allocations: 3.984 kB / 0.9063 GB, free: 57.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (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 7.732e-05/0.2407, allocations: 121.8 kB / 0.9064 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.2407, allocations: 7.906 kB / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00066/0.2414, allocations: 238.2 kB / 0.9066 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2414, allocations: 0 / 0.9066 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.2414, allocations: 0 / 0.9066 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2414, allocations: 3.984 kB / 0.9066 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.2416, allocations: 246.6 kB / 0.9069 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2416, allocations: 0 / 0.9069 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002088/0.2419, allocations: 47.95 kB / 0.9069 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.2419, allocations: 0 / 0.9069 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.2419, allocations: 4 kB / 0.9069 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2419, allocations: 0 / 0.9069 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2419, allocations: 0 / 0.9069 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006142/0.2425, allocations: 327.2 kB / 0.9072 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.2425, allocations: 88.95 kB / 0.9073 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.2426, allocations: 3.984 kB / 0.9073 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.2429, allocations: 43.95 kB / 0.9074 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.2429, allocations: 8 kB / 0.9074 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.2429, allocations: 7.984 kB / 0.9074 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.6e-05/0.243, allocations: 108.9 kB / 0.9075 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.243, allocations: 0 / 0.9075 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002598/0.2433, allocations: 20 kB / 0.9075 GB, free: 55.95 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 (6): * Single equations (assignments): 6 * 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.0008092/0.2441, allocations: 0.8528 MB / 0.9083 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006048/0.2447, allocations: 199.8 kB / 0.9085 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2447, allocations: 0 / 0.9085 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002884/0.245, allocations: 99.98 kB / 0.9086 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.2452, allocations: 7.938 kB / 0.9086 GB, free: 54.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007855/0.246, allocations: 0.8111 MB / 0.9094 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.2461, allocations: 0.7043 MB / 0.9101 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.496e-05/0.2462, allocations: 12.19 kB / 0.9101 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.2463, allocations: 31.41 kB / 0.9102 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/0.2463, allocations: 0 / 0.9102 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01231/0.2586, allocations: 2.406 MB / 0.9125 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001438/0.2589, allocations: 178.7 kB / 0.9127 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/1.955, allocations: 0 / 0.9127 GB, free: 50.62 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)