Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.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.Examples.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",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.001329/0.001329, allocations: 108 kB / 15.6 MB, free: 132 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.001129/0.001129, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7494/0.7494, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.53 kB / 0.5019 GB, free: 3.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3812, allocations: 80.2 MB / 0.5802 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002552/0.3837, allocations: 1.426 MB / 0.5816 GB, free: 3.562 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003965/0.3842, allocations: 194 kB / 0.5818 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.3842, allocations: 5.219 kB / 0.5818 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.057e-05/0.3843, allocations: 3.938 kB / 0.5818 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.244e-05/0.3843, allocations: 4.609 kB / 0.5818 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.3846, allocations: 46.31 kB / 0.5818 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.097e-05/0.3846, allocations: 19.75 kB / 0.5818 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.3847, allocations: 5.078 kB / 0.5818 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.171e-05/0.3848, allocations: 10.11 kB / 0.5819 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.667e-05/0.3848, allocations: 13.8 kB / 0.5819 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.3849, allocations: 1.656 kB / 0.5819 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-05/0.3849, allocations: 32.86 kB / 0.5819 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.385, allocations: 5.953 kB / 0.5819 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.385, allocations: 15.64 kB / 0.5819 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.3851, allocations: 43.06 kB / 0.582 GB, free: 3.332 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3851, allocations: 1.594 kB / 0.582 GB, free: 3.332 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3851, allocations: 0 / 0.582 GB, free: 3.332 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.3851, allocations: 0 / 0.582 GB, free: 3.332 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003616/0.3855, allocations: 345.8 kB / 0.5823 GB, free: 2.969 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3855, allocations: 9.156 kB / 0.5823 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.656e-05/0.3856, allocations: 36.45 kB / 0.5823 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.3856, allocations: 3.125 kB / 0.5823 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.766e-05/0.3857, allocations: 182.1 kB / 0.5825 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3857, allocations: 1.094 kB / 0.5825 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.3857, allocations: 2.453 kB / 0.5825 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.3859, allocations: 51.09 kB / 0.5826 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3859, allocations: 5.906 kB / 0.5826 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.3859, allocations: 0 / 0.5826 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3859, allocations: 0 / 0.5826 GB, free: 2.672 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.3861, allocations: 40.64 kB / 0.5826 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.3864, allocations: 249.1 kB / 0.5828 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.3865, allocations: 35.48 kB / 0.5829 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.359e-05/0.3866, allocations: 29.28 kB / 0.5829 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.378e-05/0.3867, allocations: 83.89 kB / 0.583 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.3867, allocations: 36.64 kB / 0.583 GB, free: 2.203 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3867, allocations: 0 / 0.583 GB, free: 2.203 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003349/0.387, allocations: 84.08 kB / 0.5831 GB, free: 2.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.3871, allocations: 53.52 kB / 0.5832 GB, free: 2.098 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.563e-05/0.3871, allocations: 100.9 kB / 0.5833 GB, free: 1.996 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.497e-06/0.3872, allocations: 31.27 kB / 0.5833 GB, free: 1.961 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.3872, allocations: 86.89 kB / 0.5834 GB, free: 1.875 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.3872, allocations: 4.656 kB / 0.5834 GB, free: 1.871 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.3872, allocations: 12.25 kB / 0.5834 GB, free: 1.855 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.049e-05/0.3873, allocations: 317.7 kB / 0.5837 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.464e-05/0.3874, allocations: 13.77 kB / 0.5837 GB, free: 1.539 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-05/0.3875, allocations: 18.56 kB / 0.5837 GB, free: 1.535 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.3876, allocations: 45.61 kB / 0.5838 GB, free: 1.516 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3876, allocations: 3.938 kB / 0.5838 GB, free: 1.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001875/0.3878, allocations: 68.17 kB / 0.5838 GB, free: 1.473 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3879, allocations: 5.141 kB / 0.5838 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3879, allocations: 1.062 kB / 0.5838 GB, free: 1.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3879, allocations: 4.031 kB / 0.5838 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.388, allocations: 9.562 kB / 0.5838 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.388, allocations: 0 / 0.5838 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.618e-05/0.3881, allocations: 6.562 kB / 0.5839 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.3881, allocations: 0.8438 kB / 0.5839 GB, free: 1.469 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 (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 5.527e-05/0.3881, allocations: 121.5 kB / 0.584 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.3882, allocations: 1.875 kB / 0.584 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.3884, allocations: 80.28 kB / 0.584 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3884, allocations: 0 / 0.584 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3884, allocations: 1.781 kB / 0.584 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3884, allocations: 0 / 0.584 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.3886, allocations: 164.3 kB / 0.5842 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3886, allocations: 1.562 kB / 0.5842 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.247e-05/0.3887, allocations: 8.641 kB / 0.5842 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3887, allocations: 256 / 0.5842 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.3888, allocations: 0.6875 kB / 0.5842 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.3888, allocations: 13.27 kB / 0.5842 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3888, allocations: 1.344 kB / 0.5842 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.389, allocations: 162.4 kB / 0.5844 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.3891, allocations: 82.95 kB / 0.5845 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.3891, allocations: 4.562 kB / 0.5845 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.3892, allocations: 11.08 kB / 0.5845 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.3893, allocations: 1.5 kB / 0.5845 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.3893, allocations: 1.234 kB / 0.5845 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.556e-05/0.3893, allocations: 80.41 kB / 0.5846 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3893, allocations: 0.875 kB / 0.5846 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.3896, allocations: 13.75 kB / 0.5846 GB, free: 0.7578 MB / 430.1 MB 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.0004456/0.39, allocations: 0.7001 MB / 0.5853 GB, free: 92 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.3903, allocations: 40.77 kB / 0.5853 GB, free: 84 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3903, allocations: 0 / 0.5853 GB, free: 84 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.3904, allocations: 19.92 kB / 0.5853 GB, free: 80 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.3907, allocations: 7.188 kB / 0.5853 GB, free: 76 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.3911, allocations: 138.3 kB / 0.5855 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.3914, allocations: 0.6761 MB / 0.5861 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.244e-05/0.3914, allocations: 1.484 kB / 0.5861 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.3915, allocations: 13.73 kB / 0.5861 GB, free: 15.22 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3915, allocations: 0 / 0.5861 GB, free: 15.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.4099, allocations: 1.401 MB / 0.5875 GB, free: 14.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.409/7.819, allocations: 15.5 kB / 0.5875 GB, free: 14.85 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)