Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit",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.001143/0.001143, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 196.4 kB / 16.53 MB, free: 6.672 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.585/1.585, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.7/1.7, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.002022/0.002022, allocations: 69.17 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2292, allocations: 114.6 MB / 0.7835 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002579/0.2318, allocations: 1.461 MB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000851/0.2327, allocations: 0.5977 MB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.99e-05/0.2328, allocations: 4 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.2328, allocations: 3.938 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.2328, allocations: 7.922 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.2331, allocations: 51.81 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.21e-05/0.2332, allocations: 23.94 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.728e-05/0.2333, allocations: 7.984 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.289e-05/0.2333, allocations: 15.94 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.924e-05/0.2334, allocations: 19.92 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.2334, allocations: 4 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.2335, allocations: 51.94 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.2335, allocations: 4 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.2336, allocations: 7.938 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.2337, allocations: 68.08 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2337, allocations: 0 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.996e-06/0.2337, allocations: 0 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2337, allocations: 3.938 kB / 0.7857 GB, free: 10.97 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003693/0.2341, allocations: 351.4 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2341, allocations: 16.03 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.2342, allocations: 30.75 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.444e-05/0.2342, allocations: 4.844 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.949e-05/0.2343, allocations: 176.2 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.2343, allocations: 384 / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.2343, allocations: 8.359 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.2345, allocations: 46.88 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.2345, allocations: 0 / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-06/0.2345, allocations: 0 / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2345, allocations: 4 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.22e-05/0.2346, allocations: 23.92 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.2349, allocations: 260.8 kB / 0.7866 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.959e-05/0.235, allocations: 30.58 kB / 0.7867 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.2351, allocations: 12.91 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007607/0.2358, allocations: 485.4 kB / 0.7871 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.2359, allocations: 30.56 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2359, allocations: 0 / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002335/0.2361, allocations: 69.61 kB / 0.7872 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.2362, allocations: 55.41 kB / 0.7873 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.409e-05/0.2362, allocations: 105.8 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.2363, allocations: 25.7 kB / 0.7874 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.078e-05/0.2363, allocations: 88.14 kB / 0.7875 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.2363, allocations: 3.906 kB / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.2364, allocations: 13.72 kB / 0.7875 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.564e-05/0.2365, allocations: 322.9 kB / 0.7878 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.936e-05/0.2365, allocations: 8 kB / 0.7878 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/0.2365, allocations: 11.98 kB / 0.7878 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.621e-05/0.2366, allocations: 36.72 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2366, allocations: 0 / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001149/0.2368, allocations: 53.59 kB / 0.7879 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2368, allocations: 8.938 kB / 0.7879 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2368, allocations: 4.094 kB / 0.7879 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2368, allocations: 0 / 0.7879 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.212e-05/0.2369, allocations: 7.984 kB / 0.7879 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.2369, allocations: 0 / 0.7879 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.154e-05/0.2369, allocations: 4 kB / 0.7879 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.2369, allocations: 0 / 0.7879 GB, free: 8.398 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.521e-05/0.237, allocations: 109.8 kB / 0.788 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.237, allocations: 8 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.2372, allocations: 65.14 kB / 0.7881 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2372, allocations: 0 / 0.7881 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2372, allocations: 0 / 0.7881 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.2372, allocations: 0 / 0.7881 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.2374, allocations: 169.6 kB / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2374, allocations: 0 / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.011e-05/0.2375, allocations: 4 kB / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2375, allocations: 0 / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.2375, allocations: 3.984 kB / 0.7883 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2375, allocations: 0 / 0.7883 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2375, allocations: 4.031 kB / 0.7883 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.2376, allocations: 155.3 kB / 0.7884 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.2377, allocations: 77.11 kB / 0.7885 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.2377, allocations: 0 / 0.7885 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.174e-05/0.2378, allocations: 19.92 kB / 0.7885 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.2378, allocations: 0 / 0.7885 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.2378, allocations: 0 / 0.7885 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.783e-05/0.2379, allocations: 95.3 kB / 0.7886 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2379, allocations: 0 / 0.7886 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002247/0.2381, allocations: 12 kB / 0.7886 GB, free: 7.586 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 (2): * Single equations (assignments): 2 * 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.0004924/0.2386, allocations: 0.7007 MB / 0.7893 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.2387, allocations: 23.92 kB / 0.7893 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2387, allocations: 0 / 0.7893 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.17e-05/0.2388, allocations: 11.98 kB / 0.7894 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.239, allocations: 11.94 kB / 0.7894 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.2394, allocations: 168.3 kB / 0.7895 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.2397, allocations: 0.6768 MB / 0.7902 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.324e-05/0.2397, allocations: 7.984 kB / 0.7902 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.2398, allocations: 11.44 kB / 0.7902 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2398, allocations: 0 / 0.7902 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.2606, allocations: 1.577 MB / 0.7917 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.93/7.191, allocations: 7.812 kB / 0.7918 GB, free: 4.355 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)