Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008806/0.0008807, allocations: 90.83 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005342/0.005342, allocations: 171.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.768/1.768, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005049/0.0005051, allocations: 14.91 kB / 0.6744 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1969, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001824/0.1987, allocations: 1.482 MB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1998, allocations: 0.6914 MB / 0.7901 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.968e-05/0.1999, allocations: 0 / 0.7901 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.1999, allocations: 7.938 kB / 0.7901 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.004e-05/0.2, allocations: 15.86 kB / 0.7901 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.2004, allocations: 161 kB / 0.7903 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.2006, allocations: 115.7 kB / 0.7904 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.2007, allocations: 45.08 kB / 0.7904 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.2008, allocations: 43.86 kB / 0.7905 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.71e-05/0.2009, allocations: 47.7 kB / 0.7905 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.201, allocations: 4 kB / 0.7905 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.865e-05/0.2011, allocations: 35.97 kB / 0.7906 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.617e-05/0.2011, allocations: 27.89 kB / 0.7906 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.875e-05/0.2012, allocations: 65.44 kB / 0.7907 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.2014, allocations: 135.8 kB / 0.7908 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2014, allocations: 4 kB / 0.7908 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2014, allocations: 0 / 0.7908 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.2014, allocations: 0 / 0.7908 GB, free: 8.617 MB / 0.6075 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.0005055/0.2019, allocations: 419.1 kB / 0.7912 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.2019, allocations: 8.031 kB / 0.7912 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.202, allocations: 38.75 kB / 0.7912 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008559/0.2028, allocations: 148.6 kB / 0.7914 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.203, allocations: 184.1 kB / 0.7916 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.723e-05/0.2031, allocations: 67.91 kB / 0.7916 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.2031, allocations: 8.375 kB / 0.7916 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005466/0.2037, allocations: 193.4 kB / 0.7918 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2037, allocations: 0 / 0.7918 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.2037, allocations: 4 kB / 0.7918 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2037, allocations: 4 kB / 0.7918 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006575/0.2044, allocations: 199.7 kB / 0.792 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.2055, allocations: 0.4978 MB / 0.7925 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.2066, allocations: 266.3 kB / 0.7928 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.2069, allocations: 104.9 kB / 0.7929 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.2069, allocations: 3.984 kB / 0.7929 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.207, allocations: 30.56 kB / 0.7929 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 2.364e-06/0.207, allocations: 4 kB / 0.7929 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.001095/0.2081, allocations: 325.4 kB / 0.7932 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.2081, allocations: 55.34 kB / 0.7933 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.2082, allocations: 144.5 kB / 0.7934 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.2083, allocations: 25.7 kB / 0.7934 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.2083, allocations: 104.3 kB / 0.7935 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.2084, allocations: 23.64 kB / 0.7935 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.2084, allocations: 21.72 kB / 0.7936 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2085, allocations: 318.8 kB / 0.7939 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.2088, allocations: 95.92 kB / 0.794 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.2092, allocations: 106.5 kB / 0.7941 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006326/0.2098, allocations: 198.4 kB / 0.7942 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2098, allocations: 4 kB / 0.7942 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000708/0.2105, allocations: 237.7 kB / 0.7945 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.2106, allocations: 7.984 kB / 0.7945 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2106, allocations: 3.938 kB / 0.7945 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2106, allocations: 8.031 kB / 0.7945 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.2109, allocations: 43.89 kB / 0.7945 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2109, allocations: 7.938 kB / 0.7945 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.2111, allocations: 31.97 kB / 0.7946 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.2111, allocations: 7.984 kB / 0.7946 GB, free: 4.477 MB / 0.6075 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 9.197e-05/0.2112, allocations: 122.4 kB / 0.7947 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.2113, allocations: 7.906 kB / 0.7947 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000779/0.212, allocations: 246.1 kB / 0.7949 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2121, allocations: 0 / 0.7949 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.2121, allocations: 3.984 kB / 0.7949 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.2121, allocations: 3.938 kB / 0.7949 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.2123, allocations: 226.4 kB / 0.7952 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2123, allocations: 0 / 0.7952 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002443/0.2126, allocations: 47.95 kB / 0.7952 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.2126, allocations: 0 / 0.7952 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.2126, allocations: 7.938 kB / 0.7952 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2126, allocations: 0 / 0.7952 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2126, allocations: 0 / 0.7952 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007222/0.2133, allocations: 319.3 kB / 0.7955 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.2134, allocations: 81.02 kB / 0.7956 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.2134, allocations: 3.938 kB / 0.7956 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.2137, allocations: 55.94 kB / 0.7957 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.2138, allocations: 0 / 0.7957 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.2138, allocations: 8.172 kB / 0.7957 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.84e-05/0.2139, allocations: 107.2 kB / 0.7958 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2139, allocations: 0 / 0.7958 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002502/0.2141, allocations: 20 kB / 0.7958 GB, free: 3.141 MB / 0.6075 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.0009888/0.2151, allocations: 0.8606 MB / 0.7966 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006816/0.2158, allocations: 203.8 kB / 0.7968 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2158, allocations: 0 / 0.7968 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.2162, allocations: 100 kB / 0.7969 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.2165, allocations: 14.91 kB / 0.7969 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.2195, allocations: 1.97 MB / 0.7989 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.2197, allocations: 0.7004 MB / 0.7995 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.002e-05/0.2198, allocations: 15.75 kB / 0.7995 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.2199, allocations: 31.42 kB / 0.7996 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.2199, allocations: 0 / 0.7996 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/0.2313, allocations: 2.434 MB / 0.802 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.2315, allocations: 192 kB / 0.8021 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/1.944, allocations: 2.625 kB / 0.8021 GB, free: 12.53 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)