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.001207/0.001207, allocations: 109.4 kB / 15.69 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.002073/0.002073, allocations: 189 kB / 16.62 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.43/1.43, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.811/1.811, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001594/0.001594, allocations: 75.73 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2288, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002648/0.2315, allocations: 1.465 MB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009593/0.2325, allocations: 0.5977 MB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.396e-05/0.2325, allocations: 4 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.2325, allocations: 0 / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.062e-05/0.2326, allocations: 7.922 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.2329, allocations: 51.81 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.182e-05/0.233, allocations: 23.94 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2331, allocations: 7.984 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.996e-05/0.2332, allocations: 19.88 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.727e-05/0.2332, allocations: 15.92 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.2333, allocations: 8 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.2334, allocations: 51.94 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.2334, allocations: 4 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.2334, allocations: 7.938 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.2336, allocations: 72.06 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2336, allocations: 0 / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2336, allocations: 0 / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.2336, allocations: 0 / 0.7859 GB, free: 10.89 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.0004036/0.234, allocations: 347.4 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.234, allocations: 12.03 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.035e-05/0.2341, allocations: 34.75 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.2341, allocations: 12.83 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.2342, allocations: 172.2 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.2342, allocations: 384 / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.2343, allocations: 8.312 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.2344, allocations: 46.88 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.2344, allocations: 0 / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.2344, allocations: 0 / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.2344, allocations: 0 / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.056e-05/0.2345, allocations: 23.98 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.2348, allocations: 252.9 kB / 0.7868 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.395e-05/0.2349, allocations: 34.5 kB / 0.7868 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.481e-05/0.235, allocations: 16.92 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007398/0.2357, allocations: 477.4 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.2358, allocations: 34.56 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.2358, allocations: 4 kB / 0.7873 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002386/0.236, allocations: 61.78 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.2361, allocations: 55.41 kB / 0.7874 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.837e-05/0.2361, allocations: 117.8 kB / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.2362, allocations: 25.7 kB / 0.7876 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.2362, allocations: 80.14 kB / 0.7876 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.2362, allocations: 7.906 kB / 0.7876 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.2363, allocations: 17.7 kB / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2364, allocations: 314.8 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.083e-05/0.2364, allocations: 16 kB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.188e-05/0.2365, allocations: 11.92 kB / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.281e-05/0.2365, allocations: 24.84 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2366, allocations: 0 / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001171/0.2367, allocations: 61.59 kB / 0.7881 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2367, allocations: 4 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2367, allocations: 0 / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2367, allocations: 8.031 kB / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.2368, allocations: 7.984 kB / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2368, allocations: 0 / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.2368, allocations: 4 kB / 0.7881 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.2369, allocations: 0 / 0.7881 GB, free: 8.32 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 7.419e-05/0.2369, allocations: 110.4 kB / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.237, allocations: 7.984 kB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.2371, allocations: 61.22 kB / 0.7883 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2371, allocations: 0 / 0.7883 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2372, allocations: 0 / 0.7883 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2372, allocations: 3.984 kB / 0.7883 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.2373, allocations: 165.6 kB / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2373, allocations: 0 / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/0.2374, allocations: 15.86 kB / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2374, allocations: 0 / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.2374, allocations: 0 / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2374, allocations: 4 kB / 0.7884 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2374, allocations: 0 / 0.7884 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.2376, allocations: 155.4 kB / 0.7886 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.2376, allocations: 81.09 kB / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.2376, allocations: 4 kB / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.2377, allocations: 0 / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.2377, allocations: 0 / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.2377, allocations: 4 kB / 0.7887 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.066e-05/0.2378, allocations: 91.3 kB / 0.7888 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2378, allocations: 0 / 0.7888 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002279/0.238, allocations: 16 kB / 0.7888 GB, free: 7.512 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.0004703/0.2385, allocations: 0.7045 MB / 0.7895 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.2386, allocations: 28.02 kB / 0.7895 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2387, allocations: 0 / 0.7895 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.24e-05/0.2387, allocations: 8 kB / 0.7895 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.2389, allocations: 11.81 kB / 0.7895 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.2393, allocations: 168.2 kB / 0.7897 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.2396, allocations: 0.6768 MB / 0.7903 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.256e-05/0.2396, allocations: 8.125 kB / 0.7903 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.2396, allocations: 11.44 kB / 0.7904 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2397, allocations: 0 / 0.7904 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.2559, allocations: 1.603 MB / 0.7919 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.036/7.292, allocations: 6.25 kB / 0.7919 GB, free: 4.273 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)