Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.49/1.49, allocations: 288.4 MB / 303.6 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009371/0.0009371, allocations: 186.8 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.127/1.127, allocations: 205.4 MB / 0.631 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008249/0.0008249, allocations: 93.25 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.000396, allocations: 17.38 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.205, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001355/0.2064, allocations: 1.16 MB / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007043/0.2071, allocations: 0.5717 MB / 0.9819 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.2072, allocations: 4 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.2072, allocations: 0 / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.621e-05/0.2072, allocations: 3.938 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.2074, allocations: 39.89 kB / 0.9819 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.968e-05/0.2075, allocations: 23.92 kB / 0.9819 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.2076, allocations: 11.98 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.182e-05/0.2077, allocations: 11.92 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.624e-05/0.2078, allocations: 11.94 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.2078, allocations: 4 kB / 0.982 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.336e-05/0.2079, allocations: 47.95 kB / 0.982 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.2079, allocations: 3.984 kB / 0.982 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.208, allocations: 37.62 kB / 0.9821 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.263e-05/0.208, allocations: 44.22 kB / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2081, allocations: 0 / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2081, allocations: 0 / 0.9821 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.2081, allocations: 0 / 0.9821 GB, free: 25.24 MB / 0.6198 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.0003453/0.2084, allocations: 347.4 kB / 0.9824 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.2085, allocations: 12.03 kB / 0.9825 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.822e-05/0.2085, allocations: 42.62 kB / 0.9825 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.28e-05/0.2085, allocations: 4.844 kB / 0.9825 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.837e-05/0.2086, allocations: 168.3 kB / 0.9827 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.2086, allocations: 4.359 kB / 0.9827 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.2087, allocations: 4.375 kB / 0.9827 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.2088, allocations: 53.8 kB / 0.9827 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.2088, allocations: 0 / 0.9827 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.2088, allocations: 0 / 0.9827 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2088, allocations: 3.938 kB / 0.9827 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.121e-05/0.2089, allocations: 23.98 kB / 0.9827 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002593/0.2092, allocations: 252.9 kB / 0.983 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.536e-05/0.2093, allocations: 38.56 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.2093, allocations: 20.91 kB / 0.983 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000672/0.21, allocations: 493.4 kB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.21, allocations: 38.56 kB / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.21, allocations: 0 / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002235/0.2103, allocations: 73.52 kB / 0.9836 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.2103, allocations: 51.41 kB / 0.9837 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.647e-05/0.2104, allocations: 117.8 kB / 0.9838 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.2104, allocations: 25.83 kB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.2104, allocations: 88.12 kB / 0.9839 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.2104, allocations: 7.906 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/0.2104, allocations: 0 / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.434e-05/0.2105, allocations: 322.8 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.309e-05/0.2105, allocations: 15.98 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-05/0.2106, allocations: 4 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.079e-05/0.2107, allocations: 36.91 kB / 0.9843 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2107, allocations: 0 / 0.9843 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001031/0.2108, allocations: 57.62 kB / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.2108, allocations: 4 kB / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2108, allocations: 0 / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2108, allocations: 32 / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.986e-05/0.2109, allocations: 19.98 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2109, allocations: 0 / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/0.2109, allocations: 0 / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.211, allocations: 8 kB / 0.9844 GB, free: 22.63 MB / 0.6198 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 5.304e-05/0.211, allocations: 117.7 kB / 0.9845 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.211, allocations: 11.89 kB / 0.9845 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.2112, allocations: 69.16 kB / 0.9845 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2112, allocations: 3.984 kB / 0.9845 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2112, allocations: 0 / 0.9845 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2112, allocations: 0 / 0.9845 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.2113, allocations: 157.6 kB / 0.9847 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2114, allocations: 4 kB / 0.9847 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.2114, allocations: 7.984 kB / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2114, allocations: 0 / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.2114, allocations: 0 / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2114, allocations: 4.031 kB / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2114, allocations: 0 / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.2116, allocations: 159.5 kB / 0.9849 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.2116, allocations: 84.95 kB / 0.9849 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.2116, allocations: 0 / 0.9849 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.718e-05/0.2117, allocations: 11.97 kB / 0.985 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.2117, allocations: 0 / 0.985 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.2117, allocations: 0 / 0.985 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.661e-05/0.2118, allocations: 91.27 kB / 0.985 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2118, allocations: 0 / 0.985 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00021/0.212, allocations: 16 kB / 0.9851 GB, free: 21.81 MB / 0.6198 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.0003193/0.2123, allocations: 0.7046 MB / 0.9857 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.2124, allocations: 27.92 kB / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2124, allocations: 0 / 0.9858 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.194e-05/0.2125, allocations: 20.09 kB / 0.9858 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.2127, allocations: 4.969 kB / 0.9858 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.213, allocations: 174.2 kB / 0.986 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.485e-05/0.2131, allocations: 0.6809 MB / 0.9866 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.172e-05/0.2132, allocations: 3.984 kB / 0.9866 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.2132, allocations: 15.48 kB / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2132, allocations: 0 / 0.9866 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1604/0.3736, allocations: 1.368 MB / 0.988 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/0.3738, allocations: 196.1 kB / 0.9882 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.036, allocations: 0 / 0.9882 GB, free: 18.61 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)