Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_dev_IDEAS_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.001191/0.001191, 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.001635/0.001635, allocations: 196.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.1 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 64.14 kB / 0.5054 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2043, allocations: 80.93 MB / 0.5845 GB, free: 4.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.004579/0.2089, allocations: 1.445 MB / 0.5859 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.2104, allocations: 0.5556 MB / 0.5864 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.2105, allocations: 3.938 kB / 0.5864 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.506e-05/0.2106, allocations: 3.938 kB / 0.5864 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.2107, allocations: 7.938 kB / 0.5864 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.2111, allocations: 51.81 kB / 0.5865 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.2113, allocations: 27.92 kB / 0.5865 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.2114, allocations: 8 kB / 0.5865 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.2115, allocations: 11.94 kB / 0.5865 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.859e-05/0.2116, allocations: 15.92 kB / 0.5866 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.2117, allocations: 0 / 0.5866 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.2119, allocations: 55.94 kB / 0.5866 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.2119, allocations: 4 kB / 0.5866 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.212, allocations: 19.86 kB / 0.5866 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.2122, allocations: 63.86 kB / 0.5867 GB, free: 2.199 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2122, allocations: 0 / 0.5867 GB, free: 2.199 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.449e-06/0.2122, allocations: 0 / 0.5867 GB, free: 2.199 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.2122, allocations: 7.938 kB / 0.5867 GB, free: 2.191 MB / 494.1 MB 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.0006223/0.2129, allocations: 347.6 kB / 0.587 GB, free: 1.805 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.2129, allocations: 8.031 kB / 0.587 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.2131, allocations: 38.73 kB / 0.5871 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.2131, allocations: 0.9375 kB / 0.5871 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.2133, allocations: 172.2 kB / 0.5872 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.2133, allocations: 4.375 kB / 0.5872 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.2134, allocations: 384 / 0.5872 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.2136, allocations: 45.81 kB / 0.5873 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2136, allocations: 0 / 0.5873 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2136, allocations: 0 / 0.5873 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.2136, allocations: 0 / 0.5873 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.2138, allocations: 31.89 kB / 0.5873 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.2143, allocations: 256.9 kB / 0.5876 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.2144, allocations: 30.56 kB / 0.5876 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.818e-05/0.2145, allocations: 12.92 kB / 0.5876 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/0.2158, allocations: 485.4 kB / 0.5881 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.2158, allocations: 30.56 kB / 0.5881 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.2158, allocations: 0 / 0.5881 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003531/0.2162, allocations: 65.61 kB / 0.5882 GB, free: 436 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.2163, allocations: 51.41 kB / 0.5882 GB, free: 372 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.2164, allocations: 113.8 kB / 0.5883 GB, free: 248 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.2165, allocations: 25.83 kB / 0.5883 GB, free: 216 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.2165, allocations: 88.14 kB / 0.5884 GB, free: 124 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.2166, allocations: 7.906 kB / 0.5884 GB, free: 116 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.2166, allocations: 13.7 kB / 0.5884 GB, free: 96 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.2168, allocations: 322.8 kB / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.36e-05/0.2169, allocations: 15.92 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.253e-05/0.2169, allocations: 8 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.2171, allocations: 36.84 kB / 0.5888 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2171, allocations: 0 / 0.5888 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001887/0.2173, allocations: 53.59 kB / 0.5889 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2173, allocations: 4 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2173, allocations: 0 / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.2173, allocations: 3.984 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.959e-05/0.2174, allocations: 4 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2175, allocations: 4 kB / 0.5889 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.2175, allocations: 32 / 0.5889 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.2175, allocations: 4 kB / 0.5889 GB, free: 15.63 MB / 0.4981 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 0.0001006/0.2177, allocations: 121.8 kB / 0.589 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.2177, allocations: 0 / 0.589 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.2179, allocations: 61.14 kB / 0.5891 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.218, allocations: 4 kB / 0.5891 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.218, allocations: 0 / 0.5891 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.218, allocations: 0 / 0.5891 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.2182, allocations: 165.6 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2183, allocations: 0 / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.665e-05/0.2183, allocations: 7.984 kB / 0.5892 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.2183, allocations: 4 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.2184, allocations: 0 / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2184, allocations: 0 / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2184, allocations: 0 / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.2186, allocations: 163.3 kB / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.2187, allocations: 81.11 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.2187, allocations: 0 / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.921e-05/0.2188, allocations: 0 / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.2189, allocations: 4 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.2189, allocations: 3.938 kB / 0.5895 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.232e-05/0.2189, allocations: 87.27 kB / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2189, allocations: 0 / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004476/0.2194, allocations: 16 kB / 0.5896 GB, free: 14.82 MB / 0.4981 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.000728/0.2201, allocations: 0.7045 MB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001864/0.2204, allocations: 27.92 kB / 0.5903 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2204, allocations: 0 / 0.5903 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.875e-05/0.2204, allocations: 16.09 kB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.2208, allocations: 3.984 kB / 0.5903 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007143/0.2216, allocations: 170.7 kB / 0.5905 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.2219, allocations: 0.6768 MB / 0.5911 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.544e-05/0.222, allocations: 8 kB / 0.5911 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.222, allocations: 19.48 kB / 0.5911 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.222, allocations: 0 / 0.5911 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.2461, allocations: 1.583 MB / 0.5927 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.185/7.431, allocations: 14.55 kB / 0.5927 GB, free: 11.59 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)