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.005082/0.005082, allocations: 99.67 kB / 15.73 MB, free: 6.043 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.00131/0.00131, allocations: 197.8 kB / 16.67 MB, free: 5.965 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8098/0.8098, allocations: 132.2 MB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00251/0.00251, allocations: 73.05 kB / 0.5809 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2183, allocations: 80.2 MB / 0.6592 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002535/0.2209, allocations: 0.6063 MB / 0.6598 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005457/0.2215, allocations: 166.2 kB / 0.66 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.2216, allocations: 0 / 0.66 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.2216, allocations: 0 / 0.66 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.912e-05/0.2217, allocations: 0 / 0.66 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.2221, allocations: 43.84 kB / 0.66 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.704e-05/0.2222, allocations: 15.98 kB / 0.66 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.698e-05/0.2222, allocations: 0 / 0.66 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.815e-05/0.2223, allocations: 11.98 kB / 0.6601 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.249e-05/0.2224, allocations: 7.938 kB / 0.6601 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.2224, allocations: 0 / 0.6601 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.835e-05/0.2225, allocations: 31.97 kB / 0.6601 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.2225, allocations: 11.97 kB / 0.6601 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.2226, allocations: 7.938 kB / 0.6601 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.2227, allocations: 28.17 kB / 0.6601 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2227, allocations: 0 / 0.6601 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.218e-06/0.2227, allocations: 0 / 0.6601 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2227, allocations: 7.938 kB / 0.6601 GB, free: 12.88 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.0005224/0.2232, allocations: 331.5 kB / 0.6605 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.2233, allocations: 8.031 kB / 0.6605 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.376e-05/0.2234, allocations: 38.75 kB / 0.6605 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.2234, allocations: 4.891 kB / 0.6605 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.2235, allocations: 164.3 kB / 0.6607 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.2236, allocations: 8.375 kB / 0.6607 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.2236, allocations: 384 / 0.6607 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.2237, allocations: 50.19 kB / 0.6607 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2238, allocations: 3.938 kB / 0.6607 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2238, allocations: 4 kB / 0.6607 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2238, allocations: 0 / 0.6607 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.041e-05/0.2238, allocations: 11.98 kB / 0.6607 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.2241, allocations: 161.7 kB / 0.6609 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.2242, allocations: 42.56 kB / 0.6609 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.412e-05/0.2242, allocations: 28.95 kB / 0.661 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.2244, allocations: 85.05 kB / 0.661 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.2244, allocations: 30.56 kB / 0.6611 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.2244, allocations: 0 / 0.6611 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.00151/0.2259, allocations: 492.4 kB / 0.6615 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.226, allocations: 51.41 kB / 0.6616 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.823e-05/0.2261, allocations: 97.86 kB / 0.6617 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.2261, allocations: 25.7 kB / 0.6617 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.2262, allocations: 80.14 kB / 0.6618 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.2262, allocations: 31.73 kB / 0.6618 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.2263, allocations: 21.7 kB / 0.6618 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.2264, allocations: 318.8 kB / 0.6621 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.2265, allocations: 15.98 kB / 0.6622 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.658e-05/0.2265, allocations: 11.94 kB / 0.6622 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.909e-05/0.2266, allocations: 40.97 kB / 0.6622 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2266, allocations: 4 kB / 0.6622 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001292/0.2268, allocations: 69.62 kB / 0.6623 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.2268, allocations: 4 kB / 0.6623 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2268, allocations: 3.938 kB / 0.6623 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.2268, allocations: 4 kB / 0.6623 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.999e-05/0.2269, allocations: 8 kB / 0.6623 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.2269, allocations: 4 kB / 0.6623 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.43e-05/0.227, allocations: 3.938 kB / 0.6623 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.227, allocations: 3.984 kB / 0.6623 GB, free: 10.34 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 0.0001247/0.2271, allocations: 118.5 kB / 0.6624 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.2271, allocations: 3.938 kB / 0.6624 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.2273, allocations: 89.58 kB / 0.6625 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2274, allocations: 0 / 0.6625 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2274, allocations: 0 / 0.6625 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2274, allocations: 0 / 0.6625 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.2275, allocations: 161.7 kB / 0.6627 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2275, allocations: 0 / 0.6627 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.023e-05/0.2276, allocations: 19.88 kB / 0.6627 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2277, allocations: 4 kB / 0.6627 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.2277, allocations: 8 kB / 0.6627 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.2277, allocations: 0 / 0.6627 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2277, allocations: 0 / 0.6627 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.2279, allocations: 109.1 kB / 0.6628 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.5e-05/0.228, allocations: 89.03 kB / 0.6629 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.228, allocations: 11.92 kB / 0.6629 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.152e-05/0.2281, allocations: 0 / 0.6629 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.2281, allocations: 8.062 kB / 0.6629 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2281, allocations: 3.938 kB / 0.6629 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.219e-05/0.2282, allocations: 79.28 kB / 0.663 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2282, allocations: 0 / 0.663 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002476/0.2284, allocations: 35.92 kB / 0.663 GB, free: 9.5 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.0006866/0.2291, allocations: 0.6754 MB / 0.6637 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.2293, allocations: 47.98 kB / 0.6637 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2293, allocations: 0 / 0.6637 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.322e-05/0.2293, allocations: 16 kB / 0.6637 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.2295, allocations: 14.48 kB / 0.6638 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.2309, allocations: 1.196 MB / 0.6649 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.2313, allocations: 0.6807 MB / 0.6656 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.2313, allocations: 8.062 kB / 0.6656 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.2314, allocations: 15.44 kB / 0.6656 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2314, allocations: 0 / 0.6656 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.2584, allocations: 1.805 MB / 0.6674 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.755/8.014, allocations: 11.3 kB / 0.6674 GB, free: 5.051 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)