Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.006229/0.006229, allocations: 97.62 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 198.4 kB / 16.68 MB, free: 5.961 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8173/0.8173, allocations: 132.2 MB / 422.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 60.66 kB / 0.5809 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1924, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001924/0.1944, allocations: 0.5993 MB / 0.6598 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004282/0.1948, allocations: 166.3 kB / 0.66 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.1949, allocations: 0 / 0.66 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.1949, allocations: 0 / 0.66 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.502e-05/0.1949, allocations: 0 / 0.66 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.1952, allocations: 47.83 kB / 0.66 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.132e-05/0.1953, allocations: 11.98 kB / 0.66 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.132e-05/0.1953, allocations: 4 kB / 0.66 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.367e-05/0.1953, allocations: 4 kB / 0.66 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.25e-05/0.1954, allocations: 15.91 kB / 0.6601 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.1954, allocations: 4 kB / 0.6601 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.448e-05/0.1955, allocations: 27.97 kB / 0.6601 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.1955, allocations: 4 kB / 0.6601 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.1955, allocations: 11.92 kB / 0.6601 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.053e-05/0.1956, allocations: 32.17 kB / 0.6601 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1956, allocations: 0 / 0.6601 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1956, allocations: 4 kB / 0.6601 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.748e-06/0.1956, allocations: 0 / 0.6601 GB, free: 9.824 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003525/0.196, allocations: 329.5 kB / 0.6605 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.196, allocations: 12.03 kB / 0.6605 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.82e-05/0.1961, allocations: 34.73 kB / 0.6605 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.1961, allocations: 8.891 kB / 0.6605 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.1963, allocations: 168.3 kB / 0.6607 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1963, allocations: 8.25 kB / 0.6607 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.1964, allocations: 4.375 kB / 0.6607 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.1965, allocations: 42.25 kB / 0.6607 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1965, allocations: 7.938 kB / 0.6607 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1965, allocations: 0 / 0.6607 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1965, allocations: 0 / 0.6607 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/0.1966, allocations: 15.98 kB / 0.6607 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.1968, allocations: 153.7 kB / 0.6609 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.911e-05/0.1969, allocations: 54.55 kB / 0.6609 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.197, allocations: 20.98 kB / 0.661 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.819e-05/0.197, allocations: 81.09 kB / 0.661 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.1971, allocations: 38.56 kB / 0.6611 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.61e-07/0.1971, allocations: 0 / 0.6611 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001192/0.1983, allocations: 484.3 kB / 0.6615 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.1983, allocations: 55.41 kB / 0.6616 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.87e-05/0.1984, allocations: 97.84 kB / 0.6617 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.1984, allocations: 25.7 kB / 0.6617 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.1984, allocations: 84.14 kB / 0.6618 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.1985, allocations: 27.69 kB / 0.6618 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.1985, allocations: 25.7 kB / 0.6618 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1986, allocations: 314.8 kB / 0.6621 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.714e-05/0.1987, allocations: 8 kB / 0.6621 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.586e-05/0.1987, allocations: 15.98 kB / 0.6622 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.962e-05/0.1988, allocations: 41.2 kB / 0.6622 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1988, allocations: 0 / 0.6622 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001118/0.1989, allocations: 73.61 kB / 0.6623 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1989, allocations: 8 kB / 0.6623 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.1989, allocations: 3.984 kB / 0.6623 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.1989, allocations: 3.938 kB / 0.6623 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.435e-05/0.199, allocations: 15.94 kB / 0.6623 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.199, allocations: 0 / 0.6623 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.134e-05/0.1991, allocations: 0 / 0.6623 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.1991, allocations: 4 kB / 0.6623 GB, free: 7.285 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 (8): * Single equations (assignments): 8 * 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.307e-05/0.1992, allocations: 114.7 kB / 0.6624 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.1992, allocations: 15.86 kB / 0.6624 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.1994, allocations: 81.53 kB / 0.6625 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1994, allocations: 4 kB / 0.6625 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-06/0.1994, allocations: 0 / 0.6625 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1994, allocations: 0 / 0.6625 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.1996, allocations: 165.7 kB / 0.6627 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1996, allocations: 192 / 0.6627 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.195e-05/0.1997, allocations: 27.92 kB / 0.6627 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1997, allocations: 0 / 0.6627 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.1997, allocations: 0 / 0.6627 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1997, allocations: 0 / 0.6627 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1997, allocations: 0 / 0.6627 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.1999, allocations: 117 kB / 0.6628 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.1999, allocations: 85 kB / 0.6629 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1999, allocations: 0 / 0.6629 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.969e-05/0.2, allocations: 12.09 kB / 0.6629 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.2, allocations: 3.984 kB / 0.6629 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.2, allocations: 4 kB / 0.6629 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.253e-05/0.2001, allocations: 75.28 kB / 0.663 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2001, allocations: 0 / 0.663 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002281/0.2003, allocations: 35.92 kB / 0.663 GB, free: 6.445 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.000532/0.2008, allocations: 0.6788 MB / 0.6637 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.201, allocations: 39.97 kB / 0.6637 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.201, allocations: 0 / 0.6637 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.369e-05/0.201, allocations: 23.94 kB / 0.6637 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.2011, allocations: 0 / 0.6637 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.2022, allocations: 1.212 MB / 0.6649 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/0.2024, allocations: 0.6768 MB / 0.6656 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.87e-05/0.2025, allocations: 12.05 kB / 0.6656 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.2025, allocations: 11.44 kB / 0.6656 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.2025, allocations: 0 / 0.6656 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.2214, allocations: 1.796 MB / 0.6674 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.39/7.611, allocations: 13.16 kB / 0.6674 GB, free: 1.996 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)