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.442/1.442, allocations: 252 MB / 267.3 MB, free: 10.85 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.001091/0.001091, allocations: 180.2 kB / 327 MB, free: 2.113 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.574/1.574, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0007743/0.0007741, allocations: 96.31 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 9.031 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1957, allocations: 106.3 MB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001632/0.1974, allocations: 1.493 MB / 0.9024 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1987, allocations: 0.6989 MB / 0.9031 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.068e-05/0.1988, allocations: 0 / 0.9031 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.841e-05/0.1989, allocations: 3.938 kB / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.89e-05/0.199, allocations: 15.86 kB / 0.9031 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.1996, allocations: 155.9 kB / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.1997, allocations: 115.7 kB / 0.9033 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.1999, allocations: 45.09 kB / 0.9034 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.2, allocations: 47.78 kB / 0.9034 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.002e-05/0.2001, allocations: 39.78 kB / 0.9035 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.2002, allocations: 11.92 kB / 0.9035 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.2003, allocations: 35.97 kB / 0.9035 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/0.2003, allocations: 23.91 kB / 0.9035 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.107e-05/0.2004, allocations: 73.36 kB / 0.9036 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.2006, allocations: 135.9 kB / 0.9037 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2006, allocations: 0 / 0.9037 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2006, allocations: 0 / 0.9037 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.2006, allocations: 0 / 0.9037 GB, free: 60.54 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.0005344/0.2012, allocations: 424.1 kB / 0.9041 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2012, allocations: 12.03 kB / 0.9041 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.133e-05/0.2013, allocations: 38.75 kB / 0.9042 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009905/0.2023, allocations: 136.7 kB / 0.9043 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.2024, allocations: 188.1 kB / 0.9045 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.736e-05/0.2025, allocations: 59.97 kB / 0.9045 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.2025, allocations: 16.38 kB / 0.9046 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.2031, allocations: 189.5 kB / 0.9047 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2031, allocations: 4 kB / 0.9047 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.2032, allocations: 4 kB / 0.9047 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.2032, allocations: 7.984 kB / 0.9048 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007003/0.2039, allocations: 195 kB / 0.9049 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.2051, allocations: 0.5016 MB / 0.9054 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.2063, allocations: 278.2 kB / 0.9057 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.2066, allocations: 100.9 kB / 0.9058 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.2067, allocations: 4 kB / 0.9058 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.2067, allocations: 30.56 kB / 0.9058 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.2067, allocations: 0 / 0.9058 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.001163/0.2079, allocations: 321.5 kB / 0.9061 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.181e-05/0.2079, allocations: 55.34 kB / 0.9062 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.208, allocations: 140.4 kB / 0.9063 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.208, allocations: 25.7 kB / 0.9063 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.2081, allocations: 112.1 kB / 0.9064 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.2081, allocations: 23.72 kB / 0.9065 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.2081, allocations: 4 kB / 0.9065 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.2082, allocations: 318.8 kB / 0.9068 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.2086, allocations: 91.91 kB / 0.9069 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.2089, allocations: 110.5 kB / 0.907 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006761/0.2096, allocations: 198.4 kB / 0.9072 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2096, allocations: 0 / 0.9072 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007709/0.2104, allocations: 237.4 kB / 0.9074 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.2104, allocations: 8 kB / 0.9074 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2104, allocations: 4.094 kB / 0.9074 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2104, allocations: 0 / 0.9074 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.2107, allocations: 55.88 kB / 0.9075 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2107, allocations: 7.984 kB / 0.9075 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.2109, allocations: 31.88 kB / 0.9075 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.2109, allocations: 4 kB / 0.9075 GB, free: 56.43 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.647e-05/0.211, allocations: 113.8 kB / 0.9076 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.943e-05/0.2111, allocations: 15.89 kB / 0.9076 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006608/0.2117, allocations: 242.1 kB / 0.9078 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.2117, allocations: 4 kB / 0.9079 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2118, allocations: 0 / 0.9079 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2118, allocations: 4.375 kB / 0.9079 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.212, allocations: 226.5 kB / 0.9081 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.212, allocations: 7.984 kB / 0.9081 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.2122, allocations: 43.89 kB / 0.9081 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.2122, allocations: 0 / 0.9081 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.2122, allocations: 3.938 kB / 0.9081 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2122, allocations: 4 kB / 0.9081 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2122, allocations: 0 / 0.9081 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.2128, allocations: 323.2 kB / 0.9084 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.2129, allocations: 92.95 kB / 0.9085 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.2129, allocations: 3.938 kB / 0.9085 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.2132, allocations: 39.95 kB / 0.9086 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.2133, allocations: 7.984 kB / 0.9086 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.2133, allocations: 15.98 kB / 0.9086 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.471e-05/0.2133, allocations: 101.3 kB / 0.9087 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2133, allocations: 0 / 0.9087 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002446/0.2136, allocations: 23.91 kB / 0.9087 GB, free: 55.08 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008115/0.2144, allocations: 0.8567 MB / 0.9095 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006087/0.215, allocations: 199.8 kB / 0.9097 GB, free: 54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.215, allocations: 0 / 0.9097 GB, free: 54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.2153, allocations: 99.97 kB / 0.9098 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.2156, allocations: 8 kB / 0.9098 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.2183, allocations: 1.962 MB / 0.9118 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.2184, allocations: 0.7004 MB / 0.9124 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.946e-05/0.2185, allocations: 19.98 kB / 0.9125 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.47e-05/0.2186, allocations: 27.42 kB / 0.9125 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.2186, allocations: 11.88 kB / 0.9125 GB, free: 51.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.2298, allocations: 2.432 MB / 0.9149 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/0.23, allocations: 207.3 kB / 0.9151 GB, free: 48.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/1.867, allocations: 1 kB / 0.9151 GB, free: 48.5 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)