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.001077/0.001077, 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.001105/0.001105, allocations: 195.6 kB / 16.53 MB, free: 6.699 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.364/1.364, 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.9316/0.9316, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 76.31 kB / 0.5055 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1488, allocations: 80.93 MB / 0.5845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001842/0.1507, allocations: 0.5846 MB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004564/0.1511, allocations: 159.5 kB / 0.5852 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.17e-05/0.1512, allocations: 0 / 0.5852 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.1512, allocations: 0 / 0.5852 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.704e-05/0.1512, allocations: 3.938 kB / 0.5852 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.1516, allocations: 43.83 kB / 0.5853 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.176e-05/0.1516, allocations: 15.98 kB / 0.5853 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.283e-05/0.1517, allocations: 4 kB / 0.5853 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.846e-05/0.1517, allocations: 4 kB / 0.5853 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.756e-05/0.1518, allocations: 11.92 kB / 0.5853 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.1518, allocations: 0 / 0.5853 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.854e-05/0.1519, allocations: 39.89 kB / 0.5853 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.534e-05/0.1519, allocations: 4 kB / 0.5853 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.1519, allocations: 7.938 kB / 0.5853 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.768e-05/0.152, allocations: 31.94 kB / 0.5854 GB, free: 3.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.152, allocations: 4 kB / 0.5854 GB, free: 3.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.152, allocations: 4 kB / 0.5854 GB, free: 3.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.567e-06/0.1521, allocations: 0 / 0.5854 GB, free: 3.52 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.0003757/0.1524, allocations: 327.5 kB / 0.5857 GB, free: 3.148 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1525, allocations: 12.03 kB / 0.5857 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.1525, allocations: 34.75 kB / 0.5857 GB, free: 3.094 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.1526, allocations: 0.9375 kB / 0.5857 GB, free: 3.094 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.1527, allocations: 164.7 kB / 0.5859 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1527, allocations: 4.359 kB / 0.5859 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.1527, allocations: 384 / 0.5859 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.1528, allocations: 50.19 kB / 0.5859 GB, free: 2.836 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1528, allocations: 11.88 kB / 0.586 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1529, allocations: 4 kB / 0.586 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1529, allocations: 0 / 0.586 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.978e-05/0.1529, allocations: 15.98 kB / 0.586 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.1531, allocations: 157.6 kB / 0.5861 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.147e-05/0.1532, allocations: 46.62 kB / 0.5862 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.1532, allocations: 24.92 kB / 0.5862 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.733e-05/0.1533, allocations: 81.11 kB / 0.5863 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1533, allocations: 38.55 kB / 0.5863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1533, allocations: 0 / 0.5863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001177/0.1545, allocations: 480.1 kB / 0.5868 GB, free: 1.832 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.1546, allocations: 55.41 kB / 0.5868 GB, free: 1.766 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.094e-05/0.1546, allocations: 93.86 kB / 0.5869 GB, free: 1.664 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1547, allocations: 25.7 kB / 0.5869 GB, free: 1.633 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.1547, allocations: 80.14 kB / 0.587 GB, free: 1.551 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.1547, allocations: 31.55 kB / 0.587 GB, free: 1.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.1548, allocations: 21.72 kB / 0.5871 GB, free: 1.492 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.1549, allocations: 318.8 kB / 0.5874 GB, free: 1.172 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.747e-05/0.1549, allocations: 8 kB / 0.5874 GB, free: 1.164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/0.1549, allocations: 20.3 kB / 0.5874 GB, free: 1.145 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.84e-05/0.155, allocations: 45.2 kB / 0.5874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.155, allocations: 0 / 0.5874 GB, free: 1.098 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001111/0.1551, allocations: 77.61 kB / 0.5875 GB, free: 1.016 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1551, allocations: 8 kB / 0.5875 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1552, allocations: 0 / 0.5875 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1552, allocations: 0 / 0.5875 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/0.1553, allocations: 15.98 kB / 0.5875 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1553, allocations: 3.938 kB / 0.5875 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.329e-05/0.1553, allocations: 0 / 0.5875 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.1553, allocations: 4 kB / 0.5875 GB, free: 0.9844 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 7.611e-05/0.1554, allocations: 113.8 kB / 0.5877 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.1554, allocations: 11.92 kB / 0.5877 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.1556, allocations: 77.64 kB / 0.5877 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1556, allocations: 0 / 0.5877 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1556, allocations: 3.938 kB / 0.5877 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.1556, allocations: 7.984 kB / 0.5877 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.1558, allocations: 157.7 kB / 0.5879 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1558, allocations: 0 / 0.5879 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.258e-05/0.1559, allocations: 19.88 kB / 0.5879 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1559, allocations: 4 kB / 0.5879 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1559, allocations: 7.984 kB / 0.5879 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1559, allocations: 0 / 0.5879 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1559, allocations: 0 / 0.5879 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.1561, allocations: 113 kB / 0.588 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.1561, allocations: 85.08 kB / 0.5881 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.1562, allocations: 0 / 0.5881 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-05/0.1562, allocations: 8.062 kB / 0.5881 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.1562, allocations: 11.92 kB / 0.5881 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.1563, allocations: 4 kB / 0.5881 GB, free: 272 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.266e-05/0.1563, allocations: 75.28 kB / 0.5882 GB, free: 196 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1563, allocations: 0 / 0.5882 GB, free: 196 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.1565, allocations: 28 kB / 0.5882 GB, free: 168 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.0005483/0.1571, allocations: 0.684 MB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.1572, allocations: 39.92 kB / 0.5889 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1572, allocations: 0 / 0.5889 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.61e-05/0.1573, allocations: 32.33 kB / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.1574, allocations: 4 kB / 0.589 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.1585, allocations: 1.2 MB / 0.5902 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.1587, allocations: 0.6846 MB / 0.5908 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.32e-05/0.1587, allocations: 4 kB / 0.5908 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.1588, allocations: 15.42 kB / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1588, allocations: 0 / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.1763, allocations: 1.775 MB / 0.5926 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.242, allocations: 14.34 kB / 0.5926 GB, free: 11.73 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)