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.001618/0.001618, 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.001993/0.001993, allocations: 196.6 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.747/0.747, allocations: 132.2 MB / 422.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 68.92 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3274, allocations: 80.2 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001621/0.3291, allocations: 0.6021 MB / 0.5808 GB, free: 4.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003369/0.3294, allocations: 154.7 kB / 0.5809 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.13e-05/0.3295, allocations: 5.656 kB / 0.5809 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.232e-05/0.3295, allocations: 0 / 0.5809 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.44e-05/0.3295, allocations: 0 / 0.5809 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.3298, allocations: 38.7 kB / 0.581 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.91e-05/0.3298, allocations: 12.47 kB / 0.581 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.595e-05/0.3299, allocations: 7.375 kB / 0.581 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.914e-05/0.3299, allocations: 12.42 kB / 0.581 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.428e-05/0.33, allocations: 8.922 kB / 0.581 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.33, allocations: 1.25 kB / 0.581 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.3301, allocations: 32.38 kB / 0.5811 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.3301, allocations: 13.45 kB / 0.5811 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.3301, allocations: 7.078 kB / 0.5811 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.68e-05/0.3302, allocations: 30.44 kB / 0.5811 GB, free: 4.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3302, allocations: 0.6094 kB / 0.5811 GB, free: 4.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3302, allocations: 0.625 kB / 0.5811 GB, free: 4.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3302, allocations: 0 / 0.5811 GB, free: 4.02 MB / 430.1 MB 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.0002893/0.3305, allocations: 330.8 kB / 0.5814 GB, free: 3.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3306, allocations: 9.906 kB / 0.5814 GB, free: 3.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.889e-05/0.3306, allocations: 36.8 kB / 0.5815 GB, free: 3.617 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.3306, allocations: 6.094 kB / 0.5815 GB, free: 3.613 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.831e-05/0.3307, allocations: 164.9 kB / 0.5816 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3307, allocations: 2.406 kB / 0.5816 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.3308, allocations: 2.75 kB / 0.5816 GB, free: 3.418 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.954e-05/0.3309, allocations: 41.23 kB / 0.5817 GB, free: 3.383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3309, allocations: 7.875 kB / 0.5817 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3309, allocations: 5.375 kB / 0.5817 GB, free: 3.371 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3309, allocations: 4.5 kB / 0.5817 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.338e-05/0.3309, allocations: 12.25 kB / 0.5817 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.3311, allocations: 162.5 kB / 0.5819 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.422e-05/0.3312, allocations: 45.05 kB / 0.5819 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/0.3312, allocations: 18.38 kB / 0.5819 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.689e-05/0.3313, allocations: 82.81 kB / 0.582 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.3313, allocations: 38.5 kB / 0.582 GB, free: 2.984 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3313, allocations: 0 / 0.582 GB, free: 2.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001108/0.3324, allocations: 492.6 kB / 0.5825 GB, free: 2.574 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.122e-05/0.3325, allocations: 52.92 kB / 0.5826 GB, free: 2.512 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.248e-05/0.3325, allocations: 92.81 kB / 0.5826 GB, free: 2.414 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.3325, allocations: 25.7 kB / 0.5827 GB, free: 2.383 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.116e-05/0.3325, allocations: 85.11 kB / 0.5827 GB, free: 2.297 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.3326, allocations: 25.3 kB / 0.5828 GB, free: 2.277 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.3326, allocations: 25.08 kB / 0.5828 GB, free: 2.254 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.728e-05/0.3326, allocations: 318.1 kB / 0.5831 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.823e-05/0.3327, allocations: 11.56 kB / 0.5831 GB, free: 1.934 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.442e-05/0.3327, allocations: 13.89 kB / 0.5831 GB, free: 1.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.284e-05/0.3328, allocations: 40.22 kB / 0.5832 GB, free: 1.906 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3328, allocations: 0 / 0.5832 GB, free: 1.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001003/0.3329, allocations: 71.33 kB / 0.5832 GB, free: 1.859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3329, allocations: 5.656 kB / 0.5832 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3329, allocations: 1.219 kB / 0.5832 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.3329, allocations: 0 / 0.5832 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/0.333, allocations: 18.03 kB / 0.5833 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.333, allocations: 0 / 0.5833 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.333, allocations: 1.219 kB / 0.5833 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.3331, allocations: 6.859 kB / 0.5833 GB, free: 1.852 MB / 430.1 MB 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 4.398e-05/0.3331, allocations: 118.1 kB / 0.5834 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.3331, allocations: 5.438 kB / 0.5834 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.3333, allocations: 89.19 kB / 0.5835 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3333, allocations: 5.281 kB / 0.5835 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3333, allocations: 1.406 kB / 0.5835 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3333, allocations: 0.6094 kB / 0.5835 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.351e-05/0.3334, allocations: 162.1 kB / 0.5836 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3334, allocations: 0.7188 kB / 0.5836 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.961e-05/0.3335, allocations: 24.8 kB / 0.5837 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3335, allocations: 1.375 kB / 0.5837 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.3335, allocations: 1.984 kB / 0.5837 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3335, allocations: 0 / 0.5837 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3335, allocations: 0.5625 kB / 0.5837 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.3337, allocations: 122.4 kB / 0.5838 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.3337, allocations: 83.09 kB / 0.5839 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.3337, allocations: 5.656 kB / 0.5839 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.56e-05/0.3338, allocations: 5.75 kB / 0.5839 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.3338, allocations: 5 kB / 0.5839 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.3338, allocations: 3.062 kB / 0.5839 GB, free: 1.258 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.53e-05/0.3338, allocations: 76.44 kB / 0.5839 GB, free: 1.184 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3338, allocations: 4.156 kB / 0.5839 GB, free: 1.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.3341, allocations: 33.02 kB / 0.584 GB, free: 1.172 MB / 430.1 MB 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.0004303/0.3345, allocations: 0.6816 MB / 0.5846 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.3346, allocations: 42.12 kB / 0.5847 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3346, allocations: 0 / 0.5847 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.3347, allocations: 25.8 kB / 0.5847 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.3348, allocations: 6.641 kB / 0.5847 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009747/0.3358, allocations: 1.195 MB / 0.5859 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3361, allocations: 0.6806 MB / 0.5865 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.697e-05/0.3361, allocations: 4.859 kB / 0.5866 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.3362, allocations: 16.59 kB / 0.5866 GB, free: 14.67 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3362, allocations: 4 kB / 0.5866 GB, free: 14.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.355, allocations: 1.765 MB / 0.5883 GB, free: 14.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.212/7.567, allocations: 10.16 kB / 0.5883 GB, free: 14.3 MB / 446.1 MB (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)