Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_dev_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.001616/0.001615, 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.001959/0.001959, allocations: 194.7 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9195/0.9195, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 64.28 kB / 0.5055 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1386, allocations: 80.94 MB / 0.5845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001764/0.1404, allocations: 0.5779 MB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004038/0.1408, allocations: 159.4 kB / 0.5852 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.1408, allocations: 0 / 0.5852 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.156e-05/0.1408, allocations: 0 / 0.5852 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.257e-05/0.1409, allocations: 0 / 0.5852 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.1412, allocations: 49.25 kB / 0.5853 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.585e-05/0.1413, allocations: 23.92 kB / 0.5853 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.1413, allocations: 0 / 0.5853 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.966e-05/0.1413, allocations: 4 kB / 0.5853 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.242e-05/0.1414, allocations: 15.92 kB / 0.5853 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.1414, allocations: 3.984 kB / 0.5853 GB, free: 3.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.108e-05/0.1415, allocations: 31.97 kB / 0.5853 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.1415, allocations: 0 / 0.5853 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.1415, allocations: 11.92 kB / 0.5853 GB, free: 3.547 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.1417, allocations: 31.95 kB / 0.5854 GB, free: 3.516 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1417, allocations: 0 / 0.5854 GB, free: 3.516 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1417, allocations: 0 / 0.5854 GB, free: 3.516 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1417, allocations: 4 kB / 0.5854 GB, free: 3.512 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003612/0.142, allocations: 331.5 kB / 0.5857 GB, free: 3.137 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1421, allocations: 8.031 kB / 0.5857 GB, free: 3.129 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.1421, allocations: 34.75 kB / 0.5857 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.1422, allocations: 0.9375 kB / 0.5857 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1423, allocations: 168.6 kB / 0.5859 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.1423, allocations: 4.375 kB / 0.5859 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.1423, allocations: 8.375 kB / 0.5859 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.1424, allocations: 46.25 kB / 0.5859 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1424, allocations: 3.938 kB / 0.586 GB, free: 2.816 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1425, allocations: 0 / 0.586 GB, free: 2.816 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1425, allocations: 3.938 kB / 0.586 GB, free: 2.812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.94e-05/0.1425, allocations: 15.98 kB / 0.586 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.1427, allocations: 161.6 kB / 0.5861 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.685e-05/0.1428, allocations: 46.56 kB / 0.5862 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.1428, allocations: 16.98 kB / 0.5862 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.71e-05/0.1429, allocations: 89.09 kB / 0.5863 GB, free: 2.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.1429, allocations: 30.56 kB / 0.5863 GB, free: 2.371 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.1429, allocations: 0 / 0.5863 GB, free: 2.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001198/0.1441, allocations: 492.4 kB / 0.5868 GB, free: 1.816 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.1442, allocations: 51.41 kB / 0.5868 GB, free: 1.754 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.812e-05/0.1442, allocations: 97.8 kB / 0.5869 GB, free: 1.648 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1443, allocations: 33.83 kB / 0.5869 GB, free: 1.609 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.349e-05/0.1443, allocations: 84.12 kB / 0.587 GB, free: 1.523 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.1443, allocations: 27.56 kB / 0.5871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.1444, allocations: 17.72 kB / 0.5871 GB, free: 1.473 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.1445, allocations: 314.8 kB / 0.5874 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.062e-05/0.1445, allocations: 16 kB / 0.5874 GB, free: 1.141 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.429e-05/0.1445, allocations: 15.98 kB / 0.5874 GB, free: 1.125 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.14e-05/0.1446, allocations: 28.86 kB / 0.5874 GB, free: 1.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1446, allocations: 4 kB / 0.5874 GB, free: 1.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001167/0.1447, allocations: 77.61 kB / 0.5875 GB, free: 1.008 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1447, allocations: 4 kB / 0.5875 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1447, allocations: 320 / 0.5875 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1448, allocations: 3.938 kB / 0.5875 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.933e-05/0.1448, allocations: 15.98 kB / 0.5875 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1449, allocations: 0 / 0.5875 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.713e-05/0.1449, allocations: 8 kB / 0.5875 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1449, allocations: 3.984 kB / 0.5875 GB, free: 0.9727 MB / 494.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 6.91e-05/0.145, allocations: 113.8 kB / 0.5876 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.145, allocations: 3.938 kB / 0.5877 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.1452, allocations: 89.56 kB / 0.5877 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1452, allocations: 3.984 kB / 0.5877 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1452, allocations: 0 / 0.5877 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1452, allocations: 0 / 0.5877 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.1453, allocations: 169.6 kB / 0.5879 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1453, allocations: 0 / 0.5879 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/0.1454, allocations: 19.92 kB / 0.5879 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1454, allocations: 4 kB / 0.5879 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.1454, allocations: 0 / 0.5879 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1454, allocations: 4 kB / 0.5879 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1454, allocations: 0 / 0.5879 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.1456, allocations: 117 kB / 0.588 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.1457, allocations: 81.05 kB / 0.5881 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.1457, allocations: 4.031 kB / 0.5881 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.428e-05/0.1457, allocations: 0 / 0.5881 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.042e-05/0.1458, allocations: 12.05 kB / 0.5881 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1458, allocations: 7.938 kB / 0.5881 GB, free: 256 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.039e-05/0.1458, allocations: 79.28 kB / 0.5882 GB, free: 176 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1458, allocations: 0 / 0.5882 GB, free: 176 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.146, allocations: 24 kB / 0.5882 GB, free: 152 kB / 494.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.0004815/0.1465, allocations: 0.6879 MB / 0.5889 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.1466, allocations: 39.98 kB / 0.5889 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1466, allocations: 0 / 0.5889 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.575e-05/0.1467, allocations: 23.92 kB / 0.589 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.1468, allocations: 4 kB / 0.589 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009284/0.1478, allocations: 1.197 MB / 0.5901 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.148, allocations: 0.6807 MB / 0.5908 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.55e-05/0.148, allocations: 12.12 kB / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.1481, allocations: 19.42 kB / 0.5908 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1481, allocations: 0 / 0.5908 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.1653, allocations: 1.782 MB / 0.5926 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.217/7.383, allocations: 2.469 kB / 0.5926 GB, free: 11.71 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)