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.001469/0.001469, allocations: 108 kB / 15.61 MB, free: 152 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.001783/0.001784, allocations: 193 kB / 16.53 MB, free: 6.664 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.333/1.333, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.68/1.68, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001654/0.001654, allocations: 73.33 kB / 0.6716 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2138, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002787/0.2167, allocations: 1.45 MB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009584/0.2177, allocations: 0.6055 MB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.2177, allocations: 0 / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.2177, allocations: 3.938 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.155e-05/0.2178, allocations: 3.938 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.2181, allocations: 51.81 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.899e-05/0.2182, allocations: 27.92 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.253e-05/0.2183, allocations: 4 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.08e-05/0.2184, allocations: 19.94 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.188e-05/0.2184, allocations: 19.91 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.2185, allocations: 4 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.2186, allocations: 47.95 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.2186, allocations: 11.94 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.2186, allocations: 7.922 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.2188, allocations: 68.08 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2188, allocations: 3.938 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2188, allocations: 0 / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2188, allocations: 0 / 0.7857 GB, free: 11.03 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.0004322/0.2192, allocations: 358 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2193, allocations: 8.031 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.2193, allocations: 34.73 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.463e-05/0.2193, allocations: 8.844 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.2195, allocations: 168.2 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.2195, allocations: 4.375 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.2195, allocations: 384 / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.2196, allocations: 46.88 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.2196, allocations: 0 / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.2196, allocations: 4 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.2197, allocations: 3.984 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.302e-05/0.2197, allocations: 27.91 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000286/0.22, allocations: 256.9 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.637e-05/0.2201, allocations: 30.56 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.2202, allocations: 16.92 kB / 0.7867 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007487/0.2209, allocations: 473.4 kB / 0.7871 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.221, allocations: 34.56 kB / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.221, allocations: 0 / 0.7872 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000212/0.2212, allocations: 65.61 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.2212, allocations: 55.41 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.411e-05/0.2213, allocations: 113.8 kB / 0.7874 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.2213, allocations: 25.7 kB / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.2214, allocations: 84.14 kB / 0.7875 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.2214, allocations: 3.906 kB / 0.7875 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.2214, allocations: 17.7 kB / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.2215, allocations: 322.9 kB / 0.7878 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.197e-05/0.2216, allocations: 11.98 kB / 0.7878 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.2216, allocations: 7.938 kB / 0.7878 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.295e-05/0.2217, allocations: 32.78 kB / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2217, allocations: 0 / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001085/0.2218, allocations: 57.59 kB / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2218, allocations: 8.094 kB / 0.7879 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2218, allocations: 3.984 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.2218, allocations: 0 / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.319e-05/0.2219, allocations: 4 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.2219, allocations: 0 / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.973e-05/0.222, allocations: 7.938 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-06/0.222, allocations: 0 / 0.7879 GB, free: 8.461 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.355e-05/0.222, allocations: 117.8 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.2221, allocations: 4 kB / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.2222, allocations: 69.14 kB / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.2222, allocations: 0 / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2222, allocations: 0 / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2223, allocations: 0 / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.2224, allocations: 165.6 kB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2224, allocations: 0 / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.032e-05/0.2224, allocations: 7.984 kB / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2225, allocations: 0 / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.2225, allocations: 0 / 0.7883 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2225, allocations: 8.031 kB / 0.7883 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2225, allocations: 0 / 0.7883 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.2226, allocations: 155.3 kB / 0.7884 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.013e-05/0.2227, allocations: 77.11 kB / 0.7885 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.2227, allocations: 8 kB / 0.7885 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.484e-05/0.2227, allocations: 0 / 0.7885 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.2228, allocations: 4.031 kB / 0.7885 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.2228, allocations: 4 kB / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.182e-05/0.2228, allocations: 87.27 kB / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2228, allocations: 0 / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002577/0.2231, allocations: 12 kB / 0.7886 GB, free: 7.652 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.0004343/0.2235, allocations: 0.7085 MB / 0.7893 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.2237, allocations: 27.92 kB / 0.7893 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2237, allocations: 0 / 0.7893 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.886e-05/0.2237, allocations: 8 kB / 0.7894 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.2239, allocations: 11.92 kB / 0.7894 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.2243, allocations: 160.3 kB / 0.7895 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.2245, allocations: 0.6768 MB / 0.7902 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.095e-05/0.2246, allocations: 4 kB / 0.7902 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.2246, allocations: 15.42 kB / 0.7902 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.2246, allocations: 0 / 0.7902 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07313/0.2977, allocations: 1.585 MB / 0.7917 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.43/7.728, allocations: 3.75 kB / 0.7917 GB, free: 4.414 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)